This article along with all titles and tags are the original content of AppNee. All rights reserved. To repost or reproduce, you must add an explicit footnote along with the URL to this article!
Any manual or automated whole-website collecting/crawling behaviors are strictly prohibited.
Any resources shared on AppNee are limited to personal study and research only, any form of commercial behaviors are strictly prohibited. Otherwise, you may receive a variety of copyright complaints and have to deal with them by yourself.
Before using (especially downloading) any resources shared by AppNee, please first go to read our F.A.Q. page more or less. Otherwise, please bear all the consequences by yourself.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Ads Place

PHP has been giving dramatic improvements in recent years. However, as PHP itself does not formulate a standardized use method, together with the bad or even wrong PHP practices conveyed from many outdated PHP tutorials and books, this often makes PHP beginners astray. So PHP: The Right Way was born.

PHP: The Right Way has a special website that is used to collect and share the PHP best practices, coding standards and various authoritative online tutorials. For both beginners and PHPers with a certain foundation, it is very useful as learning or reference resources. BTW, its official online edition of document will continuously update its information and samples in the wake of the development of related technologies.

PHP: The Right Way was originally published as an online multilingual guide only, written mainly by Josh Lockhart & Phil Sturgeon for PHP website developers. But AppNee provides you its typeset eBook edition in PDF, EPUB and MOBI formats (English only), in order to give some convenience for offline reading and later viewing at any time.

// Table Of Contents //

  1. Getting Started
  2. Code Style Guide
  3. Language Highlights
  4. Dependency Management
  5. Coding Practices
  6. Dependency Injection
  7. Databases
  8. Templating
  9. Errors and Exceptions
  10. Security
  11. Testing
  12. Servers and Deployment
  13. Virtualization
  14. Caching
  15. Documenting your Code
  16. Resources
  17. Community

// Read Online //

PHP: The Right Way is translated into many different languages:

// Download URLs //

Format Download Size
PDF 561 KB


If some download link is missing, and you do need it, just please send an email (along with post link and missing link) to remind us to reupload the missing file for you. And, give us some time to respond.
If there is a password for an archive, it should be "".
Most of the reserved downloads (including the 32-bit version) can be requested to reupload via email.