PHPackages                             plhw/hf-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. plhw/hf-cs-fixer-config

ActiveLibrary

plhw/hf-cs-fixer-config
=======================

PHP CS Fixer config for plhw components

2.0.5(3y ago)04.4k1[1 issues](https://github.com/plhw/hf-cs-fixer-config/issues)3MITPHPPHP ^7.1.3 || ^8.0CI failing

Since Feb 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/plhw/hf-cs-fixer-config)[ Packagist](https://packagist.org/packages/plhw/hf-cs-fixer-config)[ RSS](/packages/plhw-hf-cs-fixer-config/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (2)Versions (15)Used By (3)

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

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

PHP CS Fixer config for healthy feet components

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

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

[](#installation)

Run

```
$ composer require --dev plhw/php-cs-fixer-config:^2.8.1

```

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` in the root of your project:

```
