chiiya/code-style-php

Linting configurations for PHP projects

Maintainers

Package info

github.com/chiiya/code-style-php

pkg:composer/chiiya/code-style-php

Fund package maintenance!

chiiya

Statistics

Installs: 6 333

Dependents: 8

Suggesters: 0

Stars: 0

Open Issues: 2

3.3.0 2025-11-27 10:47 UTC

README


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.