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

ActiveLibrary

signpostmarv/php-cs-fixer-config
================================

PHP-CS-Fixer Config

v0.24.0(2y ago)07.3k↑2150%111ISCPHPPHP ^7.4|^8.0CI failing

Since May 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SignpostMarv/PHP-CS-Fixer-Config)[ Packagist](https://packagist.org/packages/signpostmarv/php-cs-fixer-config)[ RSS](/packages/signpostmarv-php-cs-fixer-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (45)Used By (11)

SignpostMarv's PHP-CS-Fixer config
==================================

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

[![Build Status](https://camo.githubusercontent.com/b8a52e1bb4a157784be928fd46336455e502a3cb7a7b74cbaa4e4575e6977c9c/68747470733a2f2f7472617669732d63692e6f72672f5369676e706f73744d6172762f5048502d43532d46697865722d436f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SignpostMarv/PHP-CS-Fixer-Config)[![Psalm Type Coverage](https://camo.githubusercontent.com/2fa61c369d1e9cdd6766f14947de59dad9e87c1abd1c0a91a42b446e619856a3/68747470733a2f2f73686570686572642e6465762f6769746875622f5369676e706f73744d6172762f5048502d43532d46697865722d436f6e6669672f636f7665726167652e737667)](https://shepherd.dev/github/SignpostMarv/PHP-CS-Fixer-Config)

There's two different versions, one for general use &amp; one for use on projects that use static analysis.

Installation &amp; Usage
------------------------

[](#installation--usage)

1. `composer require --dev signpostmarv/php-cs-fixer-config`
2. create your `.php_cs` or `.php_cs.dist` file and enter the corresponding code for the config you wish to use

### General Use

[](#general-use)

```
return \SignpostMarv\CS\Config::createWithPaths(...[
	__FILE__,
	(__DIR__ . '/src/'),
	(__DIR__ . '/tests/'),
])
```

#### Use without PHP 7.1 Nullable return types

[](#use-without-php-71-nullable-return-types)

```
return \SignpostMarv\CS\ConfigUsedWithoutNullableReturn::createWithPaths(...[
	__FILE__,
	(__DIR__ . '/src/'),
	(__DIR__ . '/tests/'),
])
```

### With Static Analysis

[](#with-static-analysis)

```
return \SignpostMarv\CS\ConfigUsedWithStaticAnalysis::createWithPaths(...[
	__FILE__,
	(__DIR__ . '/src/'),
	(__DIR__ . '/tests/'),
])
```

#### Use without PHP 7.1 Nullable return types

[](#use-without-php-71-nullable-return-types-1)

```
return \SignpostMarv\CS\ConfigUsedWithStaticAnalysisWithoutNullableReturn::createWithPaths(...[
	__FILE__,
	(__DIR__ . '/src/'),
	(__DIR__ . '/tests/'),
])
```

### Customising Rules

[](#customising-rules)

1. Extend `SignpostMarv\CS\Config`
2. Either
    - override the `SignpostMarv\CS\Config::DEFAULT_RULES` array const
    - override the `SignpostMarv\CS\Config::RuntimeResolveRules()` static method as in [ConfigUsedWithStaticAnalysis](https://github.com/SignpostMarv/PHP-CS-Fixer-Config/blob/master/src/ConfigUsedWithStaticAnalysis.php)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

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 ~60 days

Recently: every ~244 days

Total

42

Last Release

834d ago

PHP version history (7 changes)v0.1.0PHP ^7.0

v0.6.2PHP ^7.0,&lt;7.0.8

v0.7.0PHP ^7.0,&gt;=7.0.8

v0.8.0PHP ^7.1,&gt;=7.1.3

v0.16.0PHP ^7.4

v0.15.2PHP &gt;=7.1.3,&lt;7.4

v0.21.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0f33136c4ea6a06111de3b716c6d06cb748df79c7a8114c498af665f9d8017a?d=identicon)[SignpostMarv](/maintainers/SignpostMarv)

---

Top Contributors

[![SignpostMarv](https://avatars.githubusercontent.com/u/304403?v=4)](https://github.com/SignpostMarv "SignpostMarv (123 commits)")

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[kubawerlos/php-cs-fixer-custom-fixers

A set of custom fixers for PHP CS Fixer

23812.0M144](/packages/kubawerlos-php-cs-fixer-custom-fixers)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[ergebnis/php-cs-fixer-config

Provides a configuration factory and rule set factories for friendsofphp/php-cs-fixer.

692.9M162](/packages/ergebnis-php-cs-fixer-config)[slam/php-cs-fixer-extensions

Slam extension of friendsofphp/php-cs-fixer

68947.7k20](/packages/slam-php-cs-fixer-extensions)[jubeki/laravel-code-style

Combine Custom Fixers with the ruleset of Laravel Pint to fix your code style in Laravel Applications/Packages.

56521.7k8](/packages/jubeki-laravel-code-style)[redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

1091.3k7](/packages/redaxo-php-cs-fixer-config)

PHPackages © 2026

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