PHPackages                             gansel-rechtsanwaelte/php-cs-fixer-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. gansel-rechtsanwaelte/php-cs-fixer-config

AbandonedArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

gansel-rechtsanwaelte/php-cs-fixer-config
=========================================

Provides a configuration factory and multiple rule sets for friendsofphp/php-cs-fixer.

2.2.0(4y ago)132.7k[1 PRs](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/pulls)1MITPHPPHP ^7.2 || ^8.0

Since Nov 17Pushed 2y agoCompare

[ Source](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/gansel-rechtsanwaelte/php-cs-fixer-config)[ Docs](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config)[ RSS](/packages/gansel-rechtsanwaelte-php-cs-fixer-config/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (13)Versions (22)Used By (1)

php-cs-fixer-config
===================

[](#php-cs-fixer-config)

[![Integrate](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/workflows/Integrate/badge.svg?branch=main)](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/actions)[![Prune](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/workflows/Prune/badge.svg?branch=main)](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/actions)[![Release](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/workflows/Release/badge.svg?branch=main)](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/actions)[![Renew](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/workflows/Renew/badge.svg?branch=main)](https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config/actions)

[![Code Coverage](https://camo.githubusercontent.com/84a5dfd24827d9358478693fc28d3c9eedfbb5d6ffcaf7f296e9603eedf1245c/68747470733a2f2f636f6465636f762e696f2f67682f67616e73656c2d726563687473616e7761656c74652f7068702d63732d66697865722d636f6e6669672f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/gansel-rechtsanwaelte/php-cs-fixer-config)

[![Latest Stable Version](https://camo.githubusercontent.com/729be849f5f43222fb706f7fd27941fd72f5ecd9e7e71da8395d836d54446aed/68747470733a2f2f706f7365722e707567782e6f72672f67616e73656c2d726563687473616e7761656c74652f7068702d63732d66697865722d636f6e6669672f762f737461626c65)](https://packagist.org/packages/gansel-rechtsanwaelte/php-cs-fixer-config)[![Total Downloads](https://camo.githubusercontent.com/bffb7ec964d341d4a1f00a1e6cf7d216f7c4479f682607bc20143a04eadcea6d/68747470733a2f2f706f7365722e707567782e6f72672f67616e73656c2d726563687473616e7761656c74652f7068702d63732d66697865722d636f6e6669672f646f776e6c6f616473)](https://packagist.org/packages/gansel-rechtsanwaelte/php-cs-fixer-config)

Provides a configuration factory and multiple rule sets for [`friendsofphp/php-cs-fixer`](http://github.com/FriendsOfPHP/PHP-CS-Fixer).

Installation
------------

[](#installation)

Run

```
$ composer require --dev gansel-rechtsanwaelte/php-cs-fixer-config
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Pick one of the rule sets:

- [`Gansel\PhpCsFixer\RuleSet\Php72`](src/RuleSet/Php72.php)
- [`Gansel\PhpCsFixer\RuleSet\Php73`](src/RuleSet/Php73.php)
- [`Gansel\PhpCsFixer\RuleSet\Php74`](src/RuleSet/Php74.php)

Create a configuration file `.php_cs` in the root of your project:

```
