Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chiiya/code-style-php
Code style configurations for PHP projects
https://github.com/chiiya/code-style-php
code-style ecs linting php php-cs-fixer rector
Last synced: 12 days ago
JSON representation
Code style configurations for PHP projects
- Host: GitHub
- URL: https://github.com/chiiya/code-style-php
- Owner: chiiya
- Created: 2022-02-22T18:10:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T11:00:45.000Z (2 months ago)
- Last Synced: 2024-10-05T02:41:13.156Z (about 1 month ago)
- Topics: code-style, ecs, linting, php, php-cs-fixer, rector
- Language: PHP
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- Security: .github/SECURITY.md
Awesome Lists containing this project
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](https://github.com/chiiya/laravel-code-style).
Install the package using composer:
```bash
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.