Source: barryvanveen.nl

Consistency is key
Clean code with consistent formatting is easier to read. Writing code in a consistent way is hard.

PHP CodeSniffer https://github.com/squizlabs/PHP_CodeSniffer provides an easy way to define a coding standard and report any violations.

Slevomat Coding Standard https://github.com/slevomat/coding-standard is not a tool in itself, but a big set of rules you can apply with PHP CodeSniffer.

It is not strictly a code standard tool, but it can be used in much the same way.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners