PHP CS Fixer vs RuboCop
PHP CS Fixer
cs.symfony.comRuboCop
rubocop.orgSide by side
| Figure | PHP CS Fixer | RuboCop |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Code formatters | 7.5 (#12) | 7.6 (#10) |
| Installation | The project recommends installing PHP CS Fixer as a Composer development dependency, and also documents Docker, PHIVE, Homebrew, and PHAR installation. | RuboCop can be installed with gem install rubocop or added to a Bundler Gemfile as a standalone tool. |
| Maintainers | The site credits Fabien Potencier and Dariusz Rumiński with bringing PHP CS Fixer to users. | The homepage describes RuboCop as free and maintained by a small core team of volunteers with help from thousands of contributors. |
| Purpose | PHP CS Fixer detects PHP coding standards problems and fixes them automatically. | RuboCop is a Ruby static code analyzer and formatter based on the community Ruby Style Guide. |
Plans
In their own words
PHP CS Fixer
PHP CS Fixer has no write-up on Specifiction yet; its figures are above.