PHPackages                             phootwork/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. phootwork/php-cs-fixer-config

ActiveLibrary

phootwork/php-cs-fixer-config
=============================

Shared config for php-cs-fixer

v1.0.1(6mo ago)32.9k↓100%23MITPHPPHP &gt;=8.0CI passing

Since Aug 17Pushed 6mo ago1 watchersCompare

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

READMEChangelog (9)Dependencies (1)Versions (10)Used By (3)

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

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

[![Continuous Integration](https://github.com/phootwork/php-cs-fixer-config/workflows/Continuous%20Integration/badge.svg)](https://github.com/phootwork/php-cs-fixer-config/workflows/Continuous%20Integration/badge.svg)

Phootwork PHP CS Fixer config

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

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

[](#installation)

Run

```
$ composer require --dev phootwork/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:

```
