There's a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.
There is no canonical way to use PHP. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they've been doing for years without ever reconsidering. This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.
This is a living document and will continue to be updated with more helpful information and examples as they become available.
PHP: The Right Way is translated into many different languages:
- English
- Bulgarian
- Chinese (Simplified)
- Chinese (Traditional)
- French
- German
- Indonesian
- Italian
- Japanese
- Korean
- Persian
- Polish
- Portuguese
- Romanian
- Russian
- Serbian
- Slovenian
- Spanish
- Thai
- Turkish
- Ukrainian
Help make this website the best resource for new PHP programmers! Contribute on GitHub
PHP: The Right Way has web banner images you can use on your website. Show your support, and let new PHP developers know where to find good information!