chiiya / code-style-php
Linting configurations for PHP projects
Fund package maintenance!
chiiya
Installs: 3 502
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 2
Requires
- php: ^8.2
- friendsofphp/php-cs-fixer: ^3.18
- kubawerlos/php-cs-fixer-custom-fixers: ^3.14
- rector/rector: ^1.1
- slevomat/coding-standard: ^8.12
- symplify/coding-standard: ^12.1
- symplify/easy-coding-standard: ^12.2
Requires (Dev)
- phpro/grumphp: ^2.0
- dev-master
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.18.0
- 2.17.0
- 2.15.0
- 2.14.0
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.4
- 2.11.3
- 2.11.2
- 2.11.1
- 2.11.0
- 2.10.1
- 2.10.0
- 2.9.4
- 2.9.3
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5
- dev-dependabot/github_actions/actions/checkout-4
This package is auto-updated.
Last update: 2024-11-06 11:37:00 UTC
README
Code Style PHP
Code style configurations for PHP projects using a combination of PHP-CS-Fixer, ECS and Rector.
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.