Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

PHP Coding Standards Fixer with predefined rule sets for Laravel projects, Laravel packages & plain PHP

License

Notifications You must be signed in to change notification settings

arubacao/php-cs-fixer-config

Repository files navigation

Preconfigured PHP Coding Standards Fixer

php-cs-fixer rule sets for Laravel & plain PHP projects.

Note: This project is unmaintained. I suggest you take a look at matt-allan/laravel-code-style instead.

Install

$ composer require arubacao/php-cs-fixer-config --dev

Usage

Command

$ vendor/bin/php-cs-fixer fix ./ --config=vendor/arubacao/php-cs-fixer-config/laravel.php_cs -vv

Composer Script (recommended)

Add to your composer.json file

    ...
    "scripts": {
        "cs": "vendor/bin/php-cs-fixer fix ./ --config=vendor/arubacao/php-cs-fixer-config/laravel.php_cs -vv"
    },
    ...

Now you can execute:

$ composer cs

About

PHP Coding Standards Fixer with predefined rule sets for Laravel projects, Laravel packages & plain PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages