chiiya/code-style-php

Linting configurations for PHP projects

Fund package maintenance!
chiiya

2.18.0 2023-12-14 16:15 UTC

README


68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e737667

Code Style PHP

Code style configurations for PHP projects using a combination of PHP-CS-Fixer, ECS and Rector.

Latest Version on Packagist GitHub Code Style Action Statust Total Downloads

index   ·   installation   ·   usage



Index

> Installation ..................................................................... 
> Usage ............................................................................ 

Installation

Looking for an integration with Laravel? Check out laravel-code-style.

Install the package using composer:

composer require chiiya/code-style-php --dev

Usage

Simply import the rules in your PHP-CS-Fixer, ECS and Rector config files. Have a look at the .php-cs-fixer.dist.php, ecs.php and rector.php in this repository for an example.