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
Red Hat Enterprise Linux on Microsoft Azure Icon
Red Hat Enterprise Linux on Microsoft Azure

Deploy Red Hat Enterprise Linux on Microsoft Azure for a secure, reliable, and scalable cloud environment, fully integrated with Microsoft services.

Red Hat Enterprise Linux (RHEL) on Microsoft Azure provides a secure, reliable, and flexible foundation for your cloud infrastructure. Red Hat Enterprise Linux on Microsoft Azure is ideal for enterprises seeking to enhance their cloud environment with seamless integration, consistent performance, and comprehensive support.
Learn More
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