PHPackages                             the-ge/phpcsfixer-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. the-ge/phpcsfixer-config

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

the-ge/phpcsfixer-config
========================

The Ge's PHP CS Fixer configuration

1.0.9(1mo ago)012MITPHPPHP ^8.1|^8.2|^8.3|^8.4|^8.5

Since Mar 12Pushed 1mo agoCompare

[ Source](https://github.com/the-ge/phpcsfixer-config)[ Packagist](https://packagist.org/packages/the-ge/phpcsfixer-config)[ RSS](/packages/the-ge-phpcsfixer-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (11)Used By (0)

[The Ge's PHP CS Fixer configuration](https://github.com/the-ge/phpcsfixer-config)
==================================================================================

[](#the-ges-php-cs-fixer-configuration)

This is The Ge's PHP CS Fixer configuration.

Usage
-----

[](#usage)

### 1. Add this package to your project by either the following methods:

[](#1-add-this-package-to-your-project-by-either-the-following-methods)

Note

[PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) and [Kuba Werłos' custom fixers](https://github.com/kubawerlos/php-cs-fixer-custom-fixers) will be added as dependencies as well.

#### 1.1. Command line

[](#11-command-line)

```
composer require --dev thege/phpcsfixer-config
```

#### 1.2. Copy the package info to the `composer.json`'s `require-dev` section and install it:

[](#12-copy-the-package-info-to-the-composerjsons-require-dev-section-and-install-it)

```
// [...]
  "require-dev": {
    // [...]
    "thege/phpcsfixer-config": "^1.0"
  }
// [...]
```

```
composer install
```

### 2. Run PHP CS Fixer (from your project's root) with this configuration either:

[](#2-run-php-cs-fixer-from-your-projects-root-with-this-configuration-either)

#### 2.1. Directly

[](#21-directly)

```
# dry run
vendor/bin/php-cs-fixer fix src --config=vendor/the-ge/phpcsfixer-config/src/php-cs-fixer.dist.php --show-progress=dots --dry-run --diff
# real run
vendor/bin/php-cs-fixer fix src --config=vendor/the-ge/phpcsfixer-config/src/php-cs-fixer.dist.php --show-progress=dots
```

#### or

[](#or)

#### 2.2. As a script by adding it to your project's `composer.json` `scripts` section

[](#22-as-a-script-by-adding-it-to-your-projects-composerjson-scripts-section)

```
// [...]
  "scripts": {
    // [...]
    "fix:dry":  "vendor/bin/php-cs-fixer fix src --config=vendor/the-ge/phpcsfixer-config/src/php-cs-fixer.dist.php --show-progress=dots --dry-run --diff",
    "fix":      "vendor/bin/php-cs-fixer fix src --config=vendor/the-ge/phpcsfixer-config/src/php-cs-fixer.dist.php --show-progress=dots",
  }
// [...]
```

```
# dry run
composer fix:dry
# real run
composer fix
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance90

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

10

Last Release

52d ago

PHP version history (2 changes)1.0.0PHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

1.0.9PHP ^8.1|^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/96ad8a28b4009deb3b480b91f6b9d3e31efdcf52eaa1606164503183a2c28f6e?d=identicon)[the-ge](/maintainers/the-ge)

---

Top Contributors

[![the-ge](https://avatars.githubusercontent.com/u/6468893?v=4)](https://github.com/the-ge "the-ge (61 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/the-ge-phpcsfixer-config/health.svg)

```
[![Health](https://phpackages.com/badges/the-ge-phpcsfixer-config/health.svg)](https://phpackages.com/packages/the-ge-phpcsfixer-config)
```

###  Alternatives

[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)[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)[nette/coding-standard

41930.0k15](/packages/nette-coding-standard)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k12](/packages/shopsys-coding-standards)[blumilksoftware/codestyle

Blumilk codestyle configurator

1328.9k9](/packages/blumilksoftware-codestyle)[friendsoftypo3/kickstarter

Extension Kickstarter - Kickstart TYPO3 Extension

243.1k](/packages/friendsoftypo3-kickstarter)

PHPackages © 2026

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