erikgall / php-cs-fixer-config
FriendsOfPHP/PHP-CS-Fixer configuration.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/erikgall/php-cs-fixer-config
Requires
- friendsofphp/php-cs-fixer: ^2.16
- illuminate/console: ^7.2
- illuminate/filesystem: ^7.2
- illuminate/support: ^7.2
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-10-18 21:33:08 UTC
README
This package contains the PHP-CS-Fixer configuration that I use on all projects. It is best used with a Laravel application (but can be used very easily w/ any PHP project -- copy the .php_cs in the root directory to your project after installing via Composer).
I have spent a lot of time building of this configuration file over the years. Feel free to open up a PR if you think a new rule should be added to the configuration.
Install the package
composer require erikgall/php-cs-fixer-config
Commands / Usage
Running Install Command (Laravel)
php artisan fixer:install
Running Fix Command (Laravel)
php artisan fix