php-fig/fig-standards — pull request #14 by klaussilveira (2012-02-24 18:22:50+00:00)
Title: PSR-1, a standard coding convention for PHP

Each project can have it's own coding convention. For example: Symfony, Zend and Yii might have different naming conventions, as well other specific considerations (such as one class per file, line lenght, etc.). However, some rules are so generic that should be considered a standard. PSR-1 aims to be a set of generic guidelines for code formatting that can be extended by PHP projects.

Right now we have various conventions, being the Zend Framework convention the most widely used. However, such conventions are very tied to the project itself and can become a hassle to port to other projects.

With PSR-1, we can have a cohesive standard that does not take into account personal preferences or project-specific considerations. This is why it's so important that you guys contribute to my initial commit. This HAS to be a community effort and discussed a lot.