This package is abandoned and no longer maintained. The author suggests using the laravel/pint package instead.

PHPCS libraries and configuration for Laravel

Installs: 91 720

Dependents: 0

Suggesters: 0

Security: 0

Stars: 31

Watchers: 3

Forks: 14


2.1 2021-05-17 12:00 UTC

This package is auto-updated.

Last update: 2022-10-19 11:50:06 UTC


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.