Download the PHP package chiiya/laravel-code-style without Composer
On this page you can find all versions of the php package chiiya/laravel-code-style. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chiiya/laravel-code-style
More information about chiiya/laravel-code-style
Files in chiiya/laravel-code-style
Package laravel-code-style
Short Description Code style and quality configurations for Laravel projects
License MIT
Homepage https://github.com/chiiya/laravel-code-style
Informations about the package laravel-code-style
Laravel Code Style
Code style configurations for Laravel projects using a combination of PHP-CS-Fixer, ECS and Rector.
index · installation · usage
Index
> Installation ..................................................................... > Usage ............................................................................
Installation
Install the package using composer. When prompted to create a GrumPHP configuration file, choose "No".
Usage
Next, adjust the ecs.php
, .php-cs-fixer.dist.php
, rector.php
and phpstan.neon
files
that have just been created in your project folder to suit your project structure.
After publishing the configuration files, you may have to re-initialize GrumPHP:
The GrumPHP config includes tasks for PHP-CS-Fixer, ECS and TLint by default. Tasks for rector
and phpstan
are not included, since they can take a long time. You may choose to execute them
separately instead (for example, in a CI pipeline), or add them to your GrumPHP config if you're
fine with the longer waiting times:
Example for grumphp.yml
Example for a CI config (call these somewhere in your pipeline):
All versions of laravel-code-style with dependencies
chiiya/code-style-php Version ^3.1
illuminate/contracts Version ^11.0|^12.0
larastan/larastan Version ^3.0
phpro/grumphp Version ^2.10
spatie/laravel-package-tools Version ^1.18
tightenco/tlint Version ^9.4