PSR-1, a standard coding convention for PHP

From: Date: Fri, 24 Feb 2012 18:25:35 +0000
Subject: PSR-1, a standard coding convention for PHP
Groups: php.standards 
Request: Send a blank email to standards-+get-98@lists.php.net to get a copy of this message
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. So guys, please, comment: https://github.com/php-fig/fig-standards/pull/14 -- Klaus Silveira (011) 8564-2492 www.klaussilveira.com

« previous php.standards (#98) next »