Best of PHP — February 2022
- 1
- 2
Hacker News·4y
PHP: The Right Way
PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards. It links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late.
- 3
Laravel News·4y
Keeping your .env.example file updated
Envy is a Laravel package that checks your .env.example file for missing environment variables. It is not a sync-up between .env and.example files. It reads all of your project's config files (or any other files you've configured) and finds calls to the env function. Then, it compares those calls to what's contained inside your.env file. With that knowledge it is able to suggest additions or removals for you.
- 4
Tuts+·4y
Object-Oriented PHP for Beginners
Object-oriented programming is a style of coding that allows developers to group similar tasks into classes. This helps keep code following the tenet "don't repeat yourself" (DRY) and easy-to-maintain. A class is like a blueprint for a house, with relationships between the different parts of the house clearly defined and planned.