Squiz Labs, the creators of PHP_CodeSniffer, put together an analysis of coding conventions across 193 PHP projects. The report outlines a lot of small things like average line length, camel casing, new array syntax, and more.
You can also see project specific breakdowns and here is Laravel’s, which received an A+.
Filed in: