PHP Coding Standards Fixer

php php-cs-fixer.phar fix /path/to/dir The PHP Coding Standards Fixer tool fixes most issues in your code when you want to follow the PHP coding standards as defined in the PSR-1 and PSR-2 documents. If you are already using PHP_CodeSniffer to identify coding standards problems in your code, you know that fixing them by hand is …

PHP: The Right Way

There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and bad code. This must stop. PHP: The Right Way is an easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. A must read! PHP: The Right Way …