项目作者: erikgall

项目描述 :
PHP-CS-Fixer configuration & Laravel installer
高级语言: PHP
项目地址: git://github.com/erikgall/php-cs-fixer-config.git
创建时间: 2020-03-18T22:08:47Z
项目社区:https://github.com/erikgall/php-cs-fixer-config

开源协议:

下载


PHP-CS-Fixer Config

This package contains the PHP-CS-Fixer configuration that I use on all projects. It is best used with a Laravel application (but can be used very easily w/ any PHP project — copy the .php_cs in the root directory to your project after installing via Composer).

I have spent a lot of time building of this configuration file over the years. Feel free to open up a PR if you think a new rule should be added to the configuration.

Install the package

  1. composer require erikgall/php-cs-fixer-config

Commands / Usage

Running Install Command (Laravel)

  1. php artisan fixer:install

Running Fix Command (Laravel)

  1. php artisan fix