PHP: The "Right"… by Phil Sturgeon et al. [PDF/iPad/Kindle]
PHP: The "Right" Way
PHP: The "Right" Way
PHP: The "Right" Way

This book is 100% complete

Completed on 2016-11-14

About the Book

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.

This is a living document and will continue to be updated with more helpful information and examples as they become available.

About the Editors

Phil Sturgeon
Phil Sturgeon

Since 2010 I've been building APIs for all sorts of companies. I've worked as a freelancer, consultant, Head of API, and CTO, for several API-centric technology startups, in the UK and more recently NYC.

These days I'm working as a sort of internal API consultant at WeWork, on a team I'm trying to call Architectural Tools. I help them focus on API Documentation/Specification, API testing, contribute to a lot of open-source tooling like Faraday, API Flow, Typheous, manage our own open-source gems like We::Call. I've also been solving real-world performance issues in prod using HTTP/1.1 Conditional Caching, helping slowly move towards HTTP/2, and all sorts of other fun stuff.

Josh Lockhart
Josh Lockhart

Creator of the Slim Framework and PHP The Right Way. Senior developer at New Media Campaigns.

Causes Supported

Electronic Frontier Foundation

Defending your civil liberties in a digital world.

Based in San Francisco, EFF is a donor-supported membership organization working to protect fundamental rights regardless of technology.

From the Internet to the iPod, technologies are transforming our society and empowering us as speakers, citizens, creators, and consumers. When our freedoms in the networked world come under attack, the Electronic Frontier Foundation (EFF) is the first line of defense. EFF broke new ground when it was founded in 1990—well before the Internet was on most people's radar—and continues to confront cutting-edge issues defending free speech, privacy, innovation, and consumer rights today. From the beginning, EFF has championed the public interest in every critical battle affecting digital rights.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub