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

Latest commit

 

History

History
17 lines (9 loc) · 804 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 804 Bytes

[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.