Email the Author

You can use this page to email Phil Sturgeon and Josh Lockhart about PHP: The "Right" Way.

Please include an email address so the author can respond to your query

This message will be sent to Phil Sturgeon and Josh Lockhart

PHP: The "Right" Way
PHP: The "Right" Way
Your guide to PHP best practices, coding standards, and authoritative tutorials.
Phil Sturgeon and Josh Lockhart

Learn more

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’s avatar Phil Sturgeon

@philsturgeon

Since 2010 I've worked as a freelancer, consultant, Head of API, and CTO, for several API-centric technology startups. Most recently I have been working as an internal API consultant for WeWork, where I used my experience to help educate developers, define standards for API design and architecture, and work on open-source tooling like OpenAPI, JSON Schema, and HTTP. WeWork has 50+ APIs, and trying to get them all playing nicely together was a constant source of learning for me and those involved. Timeouts, circuit breakers, using service mesh instead of just hoping for the best, nd generally focusing on better design, leveraging async whenever possible, and all sorts of other interesting issues.

When I'm not fighting APIs I'm riding bikes. Racing them, crashing them, or rolling around with my mates, I'm either on two wheels, writing about tech, having a cider, or D) all of the above.

Josh Lockhart’s avatar Josh Lockhart

@codeguy

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

Leanpub requires cookies in order to provide you the best experience. Dismiss

Logo white 96 67 2x

  • About
  • About Leanpub
  • Blog
  • Team
  • Contact
  • Press
  • Authors
  • Why Leanpub
  • Testimonials
  • Grandfathering
  • Freemium
  • Manifesto
  • Author Support
  • Author Help
  • Getting Started
  • Manual
  • API Docs
  • More
  • Mailing Lists
  • Frontmatter Podcast
  • Backmatter Podcast
  • Redeem a Token
  • Reader Help
  • Causes
  • Legal
  • Terms of Service
  • Copyright Policy
  • Privacy Policy

Leanpub is copyright © 2010-2019 Ruboss Technology Corp. All rights reserved.