Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web

branch: gh-pages

This branch is 0 commits ahead and 0 commits behind gh-pages

Fetching latest commit…

Cannot retrieve the latest commit at this time

PHP: The Right Way


This is the GitHub Pages repository for the PHP: The Right Way project.

  • This website is a Jekyll project.
  • Each section has a separate file in _includes/.
  • Section files are written in Markdown.
  • Section files are included in index.html.

Spread the Word!

PHP: The Right Way has web banner images you can use on your website. Show your support, and let new PHP developers know where to find good information!

See Banner Images

How to Contribute

  1. Fork and edit
  2. Optionally install Ruby with Jekyll gem to preview locally
  3. Submit pull request for consideration



There's been a lot of discussion lately about how the PHP community lacks sufficient, credible information for programmers new to PHP. This repository aims to solve this problem.


My name is Josh Lockhart. I'm the author of the Slim Framework, and I work for New Media Campaigns.



Something went wrong with that request. Please try again.