Compare GrumPHP vs PHP CS Fixer and see what are their differences.

PHP CS Fixer

A tool to automatically fix PHP Coding Standards issues (by PHP-CS-Fixer)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
GrumPHP PHP CS Fixer
22 36
3,895 11,686
0.7% 0.7%
7.2 9.3
28 days ago about 21 hours ago
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of GrumPHP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-06.

PHP CS Fixer

Posts with mentions or reviews of PHP CS Fixer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-17.
  • PHP in 2023 -
    7 projects | | 17 Jan 2023
    While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
  • Write a PHP library supports PHP 5.6 to 8.1
    5 projects | | 23 Oct 2022
    I run two tools for this - php-cs-fixer on PHP 5.6 and the built-in syntax checker(php -l).
  • Featherweight library to write to slack channel
    3 projects | | 23 Oct 2022
    You can use this library to help automate this: 😊
  • 7 Laravel Packages to Improve Coding Standards and Reduce Bugs
    10 projects | | 1 Aug 2022
    Laravel Pint is an opinionated PHP code style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is a new addition to the Laravel framework.
  • How do you feel about laravel/pint?
    3 projects | | 19 Jul 2022
    Do you think it should have been just a php-cs-fixer preset, just like the symfony & PSR ones? Well it kinda is, but with extra steps. Also is there a way to use the existing presets in pint? Like the migration ones - ?
  • Underestimated PHP
    6 projects | | 2 Jul 2022
    Coding Standards Fixer
  • GitHub - laravel/pint: Laravel Pint is a minimalist code style fixer for PHP.
    8 projects | | 22 Jun 2022
    Symfony (well Fabien Potencier, lead dev of Symfony) has created years ago. And although maintenance is transferred to the FriendsOfPHP organisation, it comes with a Symfony code style preset, as well as PSR based presets.
    8 projects | | 22 Jun 2022
  • VS Code: replace "array(...)" syntax with "[...]"
    3 projects | | 6 Jun 2022
    The setup I currently have and hope that helps you, is having installed PHP-CS-Fixer along with this extension for VSCode to format the files on save (not doing the key combination or command "Format document with..." but maybe other extensions that use PHP-CS-Fixer could solve this problem), then you could use this useful configurator, there are plenty of rules you can set or select the predefined based on the given standards, the one you are looking for is "array_syntax" there you can export the selected rules and create a ".php-cs-fixer.php" file that has your configurations, set the path to the file on the extension settings and you should be ready to format flies con the fly (or you could use the command line to format a given directory and not file by file)
  • What PHP book would you most like to see written?
    5 projects | | 31 May 2022
    Maybe you mean using tools like php-cs-fixer to just handle this automatically - that's certainly what I'd recommend

What are some alternatives?

When comparing GrumPHP and PHP CS Fixer you can also consider the following projects:

PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!

Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

PHP Mess Detector - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

magento-coding-standard - Magento Coding Standard

drupal-project - :rocket: Composer template for Drupal projects. Quick installation via "composer create-project drupal-composer/drupal-project"

PHP-Parallel-Lint - This tool check syntax of PHP files faster than serial check with fancier output.

phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

laravel-code-style - Automatic code formatting for Laravel projects