PHPackages                             classy-org/php-classy-standards - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. classy-org/php-classy-standards

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

classy-org/php-classy-standards
===============================

A tool to automatically check and fix PHP files according to Classy coding standards

1.1.0(5y ago)154.5k11MITPHP

Since Oct 3Pushed 5y ago6 watchersCompare

[ Source](https://github.com/classy-org/php-classy-standards)[ Packagist](https://packagist.org/packages/classy-org/php-classy-standards)[ RSS](/packages/classy-org-php-classy-standards/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (8)Used By (1)

Installation
============

[](#installation)

```
composer require --dev classy-org/php-classy-standards

```

Use
===

[](#use)

```
# Testing php files comply with Classy coding standards
vendor/bin/php-classy-fixer fix --dry-run

# Fixing files
vendor/bin/php-classy-fixer fix

# Configure git to automatically fix php files on commit
ln -s ../../vendor/bin/php-classy-precommit-hook .git/hooks/pre-commit

```

Since php-classy-standards is a simple wrapper around [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) with pre-configured rules we use at Classy, you can pass to it any argument [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)is accepting. Example:

```
vendor/bin/php-classy-fixer fix --dry-run ./folder/with/files/to/check

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~282 days

Total

6

Last Release

2049d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/885331?v=4)[sholman](/maintainers/sholman)[@sholman](https://github.com/sholman)

---

Top Contributors

[![bwilder-gfm-classy](https://avatars.githubusercontent.com/u/198660526?v=4)](https://github.com/bwilder-gfm-classy "bwilder-gfm-classy (1 commits)")[![PGBI](https://avatars.githubusercontent.com/u/6191583?v=4)](https://github.com/PGBI "PGBI (1 commits)")[![s-holman](https://avatars.githubusercontent.com/u/12986694?v=4)](https://github.com/s-holman "s-holman (1 commits)")[![steviehol](https://avatars.githubusercontent.com/u/12986694?v=4)](https://github.com/steviehol "steviehol (1 commits)")

### Embed Badge

![Health badge](/badges/classy-org-php-classy-standards/health.svg)

```
[![Health](https://phpackages.com/badges/classy-org-php-classy-standards/health.svg)](https://phpackages.com/packages/classy-org-php-classy-standards)
```

###  Alternatives

[redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

10102.5k15](/packages/redaxo-php-cs-fixer-config)

PHPackages © 2026

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