The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards, whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, etc., or other community driven ones like the Symfony one. You can also define your (team’s) style through configuration. It can modernize your code (like converting the pow function to the operator on PHP 5.6) and (micro) optimize it. If you are already using a linter to identify coding standards problems in your code, you know that fixing them by hand is tedious, especially on large projects. This tool does not only detect them, but also fixes them for you. If you need to apply code styles that are not supported by the tool, you can create custom rules. Dedicated plugins exist for Atom, NetBeans, PhpStorm, Sublime Text, Vim, and VS Code.

Features

  • PHP Coding Standards Fixer helps you fix your code to follow standards
  • It can modernize your code and optimize it
  • It helps you not only to detect issues, but also fixes them for you
  • The recommended way to install PHP CS Fixer is to use Composer in a dedicated composer.json file in your project
  • If you need to apply code styles that are not supported by the tool, you can create custom rules
  • Bug reports and ideas about new features are welcome

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PHP Coding Standards Fixer

PHP Coding Standards Fixer Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP Coding Standards Fixer!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Source Code Analysis Tool

Registered

2021-06-08