Download free course PHP: The Right Way, pdf file on 76 pages by Phil Sturgeon, Josh Lockhart.
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 book 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 ebook 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.
Table of contentsGetting Started
Code Style Guide
Language Highlights
Dependency Management
Coding Practices
Dependency Injection
Databases
Templating
Errors and Exceptions
Security
Testing
Servers and Deployment
Virtualization
Caching
Documenting your Code
Resources
Community