erikgall / php-cs-fixer-config
FriendsOfPHP/PHP-CS-Fixer configuration.
v1.0.0
2020-03-19 22:40 UTC
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: 2024-11-18 19:14:21 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