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

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

amphp/php-cs-fixer-config
=========================

Code style config for AMPHP.

v2.1.1(8mo ago)10124.7k↓14.4%420MITPHPPHP &gt;=7.4

Since Jan 9Pushed 8mo ago7 watchersCompare

[ Source](https://github.com/amphp/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/amphp/php-cs-fixer-config)[ GitHub Sponsors](https://github.com/amphp)[ RSS](/packages/amphp-php-cs-fixer-config/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (20)

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

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

This repository contains the common code style configuration for all [**@amphp**](https://github.com/amphp) projects. It's based on the ideas of [`refinery29/php-cs-fixer-config`](https://github.com/refinery29/php-cs-fixer-config/).

[![Build Status](https://camo.githubusercontent.com/03bd313d473c653b5674e09abf1c9ce11235d9fe9b09e027698cf957c22ccb06/68747470733a2f2f7472617669732d63692e6f72672f616d702f7068702d63732d66697865722d636f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/amp/php-cs-fixer-config)

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

[](#installation)

```
composer require --dev amphp/php-cs-fixer-config

```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

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

```
