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

ActiveLibrary

xmarcos/php-cs-fixer-config
===========================

PHP Coding Standards Fixer Config

v0.1.0(8y ago)22571MITPHPPHP ^5.6 || ^7.0

Since Oct 9Pushed 8y agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

xmarcos/php-cs-fixer-config
===========================

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

[![Build Status](https://camo.githubusercontent.com/1f79dceca1589f8f3280ef8e451381b0ee1847fd12da3807c5cdf8dfde923eb2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f786d6172636f732f7068702d63732d66697865722d636f6e6669672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/xmarcos/php-cs-fixer-config)[![Coverage Status](https://camo.githubusercontent.com/f03a72216f34bc38cf82565ee32af9bc21c111e27987ed1126b9550ad524820b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f786d6172636f732f7068702d63732d66697865722d636f6e6669672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/xmarcos/php-cs-fixer-config/code-structure)[![Quality Score](https://camo.githubusercontent.com/87dc63dbea30905c94b53b76e7cf4982725126a8647f822b50caca30ef7a152f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f786d6172636f732f7068702d63732d66697865722d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/xmarcos/php-cs-fixer-config)[![Latest Version](https://camo.githubusercontent.com/b6fd4d8068c68c63ee5efbb537e57e0f67272d98de4333aece23190b1d014997/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f786d6172636f732f7068702d63732d66697865722d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xmarcos/php-cs-fixer-config)[![Software License](https://camo.githubusercontent.com/c12fccb546f2473501b73ee65d7c0ee76eb96b8a07e6f95580a5fc9e05e9aebc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f786d6172636f732f7068702d63732d66697865722d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/6034768f2095d26d1fd27634a6be58c291b7910f43ea832c7f7d9922e8f902f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f786d6172636f732f7068702d63732d66697865722d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xmarcos/php-cs-fixer-config)[![SensioLabsInsight](https://camo.githubusercontent.com/9bbb51d62cc6b05cd47db94316c06b65497692f4d1a4e1a4e51c3464c403ce40/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34346461383339332d383236302d346564612d393138392d3432636235366139326336632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/44da8393-8260-4eda-9189-42cb56a92c6c)

A [`PHP Coding Standards Fixer`](http://github.com/FriendsOfPHP/PHP-CS-Fixer) config with the rules i use in all my projects to verify and enforce coding standards.

Requirements
------------

[](#requirements)

PHP needs to be a minimum version of PHP `5.6.0`.

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

[](#installation)

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

Usage
-----

[](#usage)

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

```
