PHP: The Right Way
A community-maintained guide to modern PHP practice: Composer, PSR coding standards, PDO and SQL injection prevention, dependency injection, error handling, security, testing and deployment. It exists because so much PHP content online is outdated or unsafe, and it points you to current conventions quickly. It is an overview with links rather than a tutorial, best read once you know basic PHP syntax.
Guide
Web Development
Josh Lockhart and contributors
A few hours
Intermediate
Free
A community-maintained guide to modern PHP practice: Composer, PSR coding standards, PDO and SQL injection prevention, dependency injection, error handling, security, testing and deployment. It exists because so much PHP content online is outdated or unsafe, and it points you to current conventions quickly. It is an overview with links rather than a tutorial, best read once you know basic PHP syntax.
Ready to start?
Opens on Josh Lockhart and contributors in a new tab.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.