Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.


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](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.