Beginners PHP Coding Standards Fixer (PHP CS-Fixer)

LPH

Flight Director
Staff member
PHP Developers can choose between many different PHP coding styles. For example, WordPress requires a coding style standard, Symfony has one, and there is the PSR-2 coding style standard. The key is to choose one and use it consistently throughout your project.

PHP Coding Standards Fixer (CS-Fixer) is a tool to help with the consistency. It can be installed through Composer or manually.

A PHP Linter identifies problems in code. CS-Fixer will identify problems and fix them.
 
Top