Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

emielmolenaar/phpcs-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] Laravel Pint is an excellent, maintained replacement. Thanks to all contributers while this repository was still alive!

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.