emielmolenaar / phpcs-laravel
PHPCS libraries and configuration for Laravel
Installs: 113 502
Dependents: 1
Suggesters: 0
Security: 0
Stars: 31
Watchers: 3
Forks: 14
Type:phpcodesniffer-standard
Requires
README
Emiel Molenaar's PHPCS Configuration
I use this package to set up a consistent PHPCS configuration across my Laravel projects. The ruleset is based on @nandosalles' ruleset.
If you wish to use this configuration in your project, install it using composer:
composer require --dev emielmolenaar/phpcs-laravel
Afterwards, run php vendor/bin/phpcs -i
to verify that phpcs-laravel
is listed as an installed ruleset.
You may now use the ruleset like so:
php vendor/bin/phpcs --standard=phpcs-laravel app/
Contributions welcome.