PHPackages                             modix/php-cs-rulesets - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. modix/php-cs-rulesets

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

modix/php-cs-rulesets
=====================

Modix rulesets for PHP-CS-Fixer

1.3.3(4y ago)012.6k—0%1PHP

Since Mar 3Pushed 4y ago3 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (15)Used By (0)

Modix rulesets for php-cs-fixer
===============================

[](#modix-rulesets-for-php-cs-fixer)

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

[](#installation)

Install the rulesets with composer

`composer require modix/php-cs-rulesets --no-plugins --dev`

If you want to use GrumPHP, execute the following command.

`composer require phpro/grumphp-shim --no-plugins --dev` to install grump.

Configuration
-------------

[](#configuration)

create a default `.php-cs-fixer.php` file in your project root by running the following command.

`cp ./vendor/modix/php-cs-rulesets/src/Resources/.php-cs-fixer.php.dist ./.php-cs-fixer.php`

Alternatively you can create file yourself.

```
