PHPackages                             prooph/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. prooph/php-cs-fixer-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prooph/php-cs-fixer-config
==========================

PHP CS Fixer config for prooph components

v0.7.0(1y ago)2474.8k↑116.7%720MITPHPPHP ^8.1

Since Dec 1Pushed 1y ago6 watchersCompare

[ Source](https://github.com/prooph/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/prooph/php-cs-fixer-config)[ RSS](/packages/prooph-php-cs-fixer-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (20)

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

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

PHP CS Fixer config for prooph components

[![Build Status](https://camo.githubusercontent.com/38f07c995e5da153b5c6bdd10770e1dffaa61a10eaa8ff8a049e865d34ef3792/68747470733a2f2f7472617669732d63692e6f72672f70726f6f70682f7068702d63732d66697865722d636f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/prooph/php-cs-fixer-config)[![Coverage Status](https://camo.githubusercontent.com/9d669ba2b55bb6907a786c96aee93ac31ccaec7b0db4297120a62b73fe06dc4c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70726f6f70682f7068702d63732d66697865722d636f6e6669672f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/prooph/php-cs-fixer-config?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

It's based on the ideas of [`refinery29/php-cs-fixer-config`](https://github.com/refinery29/php-cs-fixer-config/).

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

[](#installation)

Run

```
$ composer require --dev prooph/php-cs-fixer-config

```

Add to composer.json;

```
"scripts": {
  "check": [
    "@cs",
  ],
  "cs": "php-cs-fixer fix -v --diff --dry-run",
  "cs-fix": "php-cs-fixer fix -v --diff",
}
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Create a configuration file `.php-cs-fixer.php` in the root of your project:

```
