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

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

mfn/php-cs-fixer-config
=======================

My opinionated php-cs-fixer config for v3.11 and up

2.10.0(3mo ago)0112.0k↑162%2PHPPHP &gt;= 7

Since Apr 8Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)DependenciesVersions (15)Used By (2)

My opinionated php-cs-fixer config for v3.11 and up
===================================================

[](#my-opinionated-php-cs-fixer-config-for-v311-and-up)

Not much to say, these are my opinions.

GitHub issues are disabled, as there's likely not much to discuss here.

If you feel strongly about something, please create a PR and let's look at the technical side together.

Usage
-----

[](#usage)

The rules require `setRiskyAllowed(true)`.

In your php-cs-fixer config:

```
require 'vendor/autoload.php';

$rules = \Mfn\PhpCsFixer\Config::getRules();

return (new PhpCsFixer\Config())
  ->setFinder(…)
  ->setRiskyAllowed(true)
  ->setRules($rules);
```

License
-------

[](#license)

None? Pick what you want? I don't care, it's just a configuration.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~151 days

Recently: every ~120 days

Total

13

Last Release

99d ago

Major Versions

1.0.2 → 2.0.02021-08-16

PHP version history (2 changes)1.0.0PHP ^7

1.0.1PHP &gt;= 7

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f0d4e7638e419a48dde77f4c481fb1eb2dbe8f5fe913e68e26269ee7e051ade?d=identicon)[mfn](/maintainers/mfn)

---

Top Contributors

[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (25 commits)")

---

Tags

phpphp-cs-fixer-config

### Embed Badge

![Health badge](/badges/mfn-php-cs-fixer-config/health.svg)

```
[![Health](https://phpackages.com/badges/mfn-php-cs-fixer-config/health.svg)](https://phpackages.com/packages/mfn-php-cs-fixer-config)
```

###  Alternatives

[v-matsuk/time-overlap-calculator

Time overlap calculator

1115.6k](/packages/v-matsuk-time-overlap-calculator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
