emielmolenaar/phpcs-laravel

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

PHPCS libraries and configuration for Laravel

Maintainers

👁 emiel.molenaar

Package info

github.com/emielmolenaar/phpcs-laravel

Type:phpcodesniffer-standard

pkg:composer/emielmolenaar/phpcs-laravel

Statistics

Installs: 119 932

Dependents: 1

Suggesters: 0

Stars: 31

2.1 2021-05-17 12:00 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unlicense 649849d92c6f633211abd5fc3c3bad0673408bf1

  • Emiel Molenaar <emiel.molenaar.woop@gmail.com>

laravelphpcs

This package is auto-updated.

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


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.