PHP: The Right Way is a reference guide that aggregates best practices, coding standards, and authoritative tutorials for PHP developers.
The project addresses the lack of credible, centralized information for programmers learning PHP by collecting established best practices and pointing to authoritative resources across the web. It works as a Jekyll-based website where content is organized as Markdown files in a structured hierarchy, with automatic navigation generation based on file metadata.
The guide suits developers seeking to understand PHP conventions and standards, particularly those new to the language or teams establishing coding practices. It provides quick reference material rather than comprehensive tutorials, making it useful for developers who want to know what the community considers correct without extensive research. The project has been translated into multiple languages, allowing non-English speakers to access the same material in their preferred language.
The project maintains an open contribution model with clear style guidelines covering indentation, line length, and code sample standards. Translations are actively managed through community forks and pull requests, with contributors able to publish localized versions either as GitHub Pages forks or custom subdomains. The contribution process is straightforward, requiring only a fork, edits to Markdown files, and a pull request, with optional local preview capability through Jekyll.