PHPackages                             mfonte/coding-standard - 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. mfonte/coding-standard

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

mfonte/coding-standard
======================

Provides multiple rule sets for friendsofphp/php-cs-fixer.

1.3.5(10mo ago)02061Apache-2.0PHPPHP ^7.4 || ^8.0

Since Jun 15Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/mauriziofonte/coding-standard)[ Packagist](https://packagist.org/packages/mfonte/coding-standard)[ RSS](/packages/mfonte-coding-standard/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (7)Used By (1)

Mfonte Coding Standard
======================

[](#mfonte-coding-standard)

Mfonte Coding Standard is a [Composer](https://getcomposer.org) library that provides custom sets of rules for [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to keep our code style consistent across projects.

**This library is intended for PHP CS Fixer v3**. It will **not** work with PHP CS Fixer v2.

This library is targeted for projects relying on PHP versions from 7.4 onwards. It will **not** work with PHP versions below 7.4.

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

[](#installation)

Use `composer` to install `mfonte/coding-standard`. `php-cs-fixer` *v3* is automatically installed.

```
composer require --dev mfonte/coding-standard
```

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

[](#configuration)

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

```
