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

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

narrowspark/php-cs-fixer-config
===============================

Provides a configuration for friendsofphp/php-cs-fixer, used within Narrowspark and Anolilab.

v6.3.4(5y ago)560.5k↑300%2[1 issues](https://github.com/narrowspark/php-cs-fixer-config/issues)[18 PRs](https://github.com/narrowspark/php-cs-fixer-config/pulls)5MITPHPPHP ^8.0

Since Dec 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/narrowspark/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/narrowspark/php-cs-fixer-config)[ Docs](https://github.com/narrowspark/php-cs-fixer-config)[ GitHub Sponsors](https://github.com/prisis)[ Fund](https://opencollective.com/_prisis_)[ RSS](/packages/narrowspark-php-cs-fixer-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (64)Used By (5)

Narrowspark php-cs-fixer Config
===============================

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

 [![](https://camo.githubusercontent.com/66ba7c129757e6cba159611517f71c0874ca5ace77917b40881b2198c8288f18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6172726f77737061726b2f7068702d63732d66697865722d636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://github.com/narrowspark/php-cs-fixer-config/releases) [![](https://camo.githubusercontent.com/07ada699e58b2884a5b67492abbcf4797bf99391f003fe20e5ba2782d52e3cd5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e302e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/) [![](https://camo.githubusercontent.com/9867f2fd7f4cdf6fbc4992f6114a1e7db68c54465b44cd3c63923e2ba8dcc885/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e6172726f77737061726b2f7068702d63732d66697865722d636f6e6669672f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/narrowspark/php-cs-fixer-config) [![](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)

This repository provides a configuration for , which we use to verify and enforce a single coding standard for PHP code within Narrowspark and Anolilab. Installation
------------

[](#installation)

Via Composer

```
$ composer require narrowspark/php-cs-fixer-config
```

Usage
-----

[](#usage)

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

```
