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

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

cpsit/php-cs-fixer-config
=========================

Shared PHP-CS-Fixer configuration for CPS projects

1.3.0(5mo ago)1144.1k↑98.3%[1 issues](https://github.com/CPS-IT/php-cs-fixer-config/issues)4GPL-3.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 29Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/CPS-IT/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/cpsit/php-cs-fixer-config)[ RSS](/packages/cpsit-php-cs-fixer-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (10)Versions (8)Used By (4)

PHP-CS-Fixer config
===================

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

[![Coverage](https://camo.githubusercontent.com/8e4e78012331235a87491075b19d4825e82a1ecf8fc2baceda2c5b04c879669b/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c73436f7665726167652f6769746875622f4350532d49542f7068702d63732d66697865722d636f6e6669673f6c6f676f3d636f766572616c6c73)](https://coveralls.io/github/CPS-IT/php-cs-fixer-config)[![CGL](https://camo.githubusercontent.com/317151bcbf8934168c9c94eb544a4fd0735a9814c508da9ed3f23d8086d8ce00/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4350532d49542f7068702d63732d66697865722d636f6e6669672f63676c2e79616d6c3f6c6162656c3d63676c266c6f676f3d676974687562)](https://github.com/CPS-IT/php-cs-fixer-config/actions/workflows/cgl.yaml)[![Tests](https://camo.githubusercontent.com/14b038cc7b2228c4c29c06a1d693d789a5e61e2b1aaddd6222c67b0e40147b1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4350532d49542f7068702d63732d66697865722d636f6e6669672f74657374732e79616d6c3f6c6162656c3d7465737473266c6f676f3d676974687562)](https://github.com/CPS-IT/php-cs-fixer-config/actions/workflows/tests.yaml)[![Supported PHP Versions](https://camo.githubusercontent.com/fe4bafa041cca36384714fba947c1c9a8f52d4a53c3c26c153c10d2152368b62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f63707369742f7068702d63732d66697865722d636f6e6669672f7068703f6c6f676f3d706870)](https://packagist.org/packages/cpsit/php-cs-fixer-config)

This package contains basic [PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)configuration for use in CPS projects. All configuration options are shipped as rulesets targeting different use cases.

🔥 Installation
--------------

[](#-installation)

[![Packagist](https://camo.githubusercontent.com/c209b839258863ca255cc98dc213a206e13c8a9351e90d2bcef8e044759758ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63707369742f7068702d63732d66697865722d636f6e6669673f6c6162656c3d76657273696f6e266c6f676f3d7061636b6167697374)](https://packagist.org/packages/cpsit/php-cs-fixer-config)[![Packagist Downloads](https://camo.githubusercontent.com/da0695328489c4db96c7a70013c6058cadea03719aab3eac47e99218ceeaa2a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63707369742f7068702d63732d66697865722d636f6e6669673f636f6c6f723d627269676874677265656e)](https://packagist.org/packages/cpsit/php-cs-fixer-config)

```
composer require --dev cpsit/php-cs-fixer-config
```

⚡ Usage
-------

[](#-usage)

Configure PHP-CS-Fixer in your `.php-cs-fixer.php` file:

```
use CPSIT\PhpCsFixerConfig;
use PhpCsFixer\Config;

// Create config object and configure Finder
$config = new Config();
$config->getFinder()->in(__DIR__);

// Apply ruleset
$ruleset = new PhpCsFixerConfig\Rule\DefaultRuleset();
$ruleset->apply($config);

return $config;
```

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Please have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).

⭐ License
---------

[](#-license)

This project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance61

Regular maintenance activity

Popularity34

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80.5% 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 ~232 days

Total

4

Last Release

173d ago

PHP version history (3 changes)1.0.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

1.2.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

1.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/144cefe55242b883c87cb537463f3ba75a0f8198fc5b602b50c838aae31fe7ee?d=identicon)[eliashaeussler](/maintainers/eliashaeussler)

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

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (351 commits)")[![eliashaeussler](https://avatars.githubusercontent.com/u/16313625?v=4)](https://github.com/eliashaeussler "eliashaeussler (83 commits)")[![mteu](https://avatars.githubusercontent.com/u/2636487?v=4)](https://github.com/mteu "mteu (2 commits)")

---

Tags

configphp-cs-fixerruleset

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[kmlaravel/laravel-geographical-calculator

laravel package help you to implement geographical calculation, with With several algorithms that help you deal with coordinates

42677.2k2](/packages/kmlaravel-laravel-geographical-calculator)[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)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[friendsoftypo3/kickstarter

Extension Kickstarter - Kickstart TYPO3 Extension

243.1k](/packages/friendsoftypo3-kickstarter)

PHPackages © 2026

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