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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
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