PHPackages                             w7/php-cs-fixer - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. w7/php-cs-fixer

ActiveComposer-plugin[Testing &amp; Quality](/categories/testing)

w7/php-cs-fixer
===============

php-cs-fixer plugin

v3.0.1(4y ago)21.4k20Apache-2.0PHP

Since Jul 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/we7coreteam/php-cs-fixer)[ Packagist](https://packagist.org/packages/w7/php-cs-fixer)[ RSS](/packages/w7-php-cs-fixer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (20)

php-cs-fixer
============

[](#php-cs-fixer)

基于 php-cs-fixer 和 git pre-commit 钩子，实现项目提交代码自动格式化

使用方法
====

[](#使用方法)

通过composer方式安装该组件，如果有自定义需要可以修改根目录下的.php\_cs文件

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~149 days

Recently: every ~72 days

Total

6

Last Release

1731d ago

Major Versions

v1.0.0 → v2.0.02020-10-27

v2.0.0 → v3.0.02021-05-28

v2.0.1 → v3.0.12021-08-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/67366373461d229a38d9b2f4b9f5fe6bd87a1c9bb74fedcf45d089f3ec90268d?d=identicon)[donknap@gmail.com](/maintainers/donknap@gmail.com)

---

Top Contributors

[![titrxw](https://avatars.githubusercontent.com/u/19631469?v=4)](https://github.com/titrxw "titrxw (10 commits)")[![donknap](https://avatars.githubusercontent.com/u/4213382?v=4)](https://github.com/donknap "donknap (1 commits)")

### Embed Badge

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

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

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M901](/packages/phpro-grumphp)[kubawerlos/php-cs-fixer-custom-fixers

A set of custom fixers for PHP CS Fixer

23812.0M144](/packages/kubawerlos-php-cs-fixer-custom-fixers)[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)[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

13197.9k1](/packages/axelerant-drupal-quality-checker)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)

PHPackages © 2026

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