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

AbandonedArchivedLibrary

sandwave-io/php-cs-fixer-config
===============================

Common codestyle configuration for all Sandwave.io PHP code.

1.0.2(2y ago)023.9k↓100%MITPHPPHP ^7.4 || ^8.0 || ^8.1

Since Mar 10Pushed 2y agoCompare

[ Source](https://github.com/sandwave-io/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/sandwave-io/php-cs-fixer-config)[ RSS](/packages/sandwave-io-php-cs-fixer-config/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

[![GitHub Workflow Status](https://camo.githubusercontent.com/399523f97866e86765f3342d8ccce21e53ca328aa48df2162e6e7e6477a9c19c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669672f63692e796d6c3f6272616e63683d6d61696e)](https://camo.githubusercontent.com/399523f97866e86765f3342d8ccce21e53ca328aa48df2162e6e7e6477a9c19c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669672f63692e796d6c3f6272616e63683d6d61696e)[![Packagist PHP Version Support](https://camo.githubusercontent.com/15f5800de6154e6d94fef9d91366683bd361d17177c265e85fe4a41c38bad734/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/15f5800de6154e6d94fef9d91366683bd361d17177c265e85fe4a41c38bad734/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)[![Packagist PHP Version Support](https://camo.githubusercontent.com/9900b5580b0a91ca29e5e648156eb45e00c450586ac9118c46735e8c4109c89d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9900b5580b0a91ca29e5e648156eb45e00c450586ac9118c46735e8c4109c89d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/02816600e6dc6e95313b32e8213297fdb6992112d630fd4c8b1f69725d6d311d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/02816600e6dc6e95313b32e8213297fdb6992112d630fd4c8b1f69725d6d311d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616e64776176652d696f2f7068702d63732d66697865722d636f6e6669673f7374796c653d666c61742d737175617265)

This is a shared [FriendsOfPHP/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) configuration used primarily in Sandwave.io projects. But feel free to use it in your projects if you would like. Also, if you want to propose a change, feel free to create a PR 😁

This package can be used on PHP 7.4, 8.0 and 8.1.

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

[](#installation)

```
composer require --dev sandwave-io/php-cs-fixer-config
```

### PHP-CS-Fixer 2.0

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

If you are still using v2.x of PHP-CS-Fixer in your project, you should use version &lt;1.2.x of this package.

```
composer require --dev sandwave-io/php-cs-fixer-config:1.2.*
```

Note that this version is no longer maintained, and you should upgrade to the latest version of PHP-CS-Fixer

Usage
-----

[](#usage)

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

```
