PHPackages                             hypefactors/php-code-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hypefactors/php-code-standards

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

hypefactors/php-code-standards
==============================

PHP CS Fixer configuration for Hypefactors

v4.0.3(6mo ago)010.9k↓33.3%2BSD-3-ClausePHPPHP ^8.4

Since Jul 1Pushed 6mo agoCompare

[ Source](https://github.com/hypefactors/php-code-standards)[ Packagist](https://packagist.org/packages/hypefactors/php-code-standards)[ Docs](https://hypefactors.com)[ RSS](/packages/hypefactors-php-code-standards/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (32)Used By (2)

PHP Code Standards
==================

[](#php-code-standards)

This repository contains the coding standards followed by Hypefactors.

It includes configuration for:

- [Easy Coding Standard](https://github.com/easy-coding-standard/easy-coding-standard) (`ecs`)
- [PHPStan](https://phpstan.org/) (`phpstan`)
- [Rector](https://getrector.org/) (`rector`)

Setup
-----

[](#setup)

First install the dependency through Composer by running:

```
composer require hypefactors/php-code-standards --dev
```

Once the dependency is installed, run the following:

```
composer hypefactors:setup-code-standards
```

Next open your `composer.json` file and add the following section:

```
"scripts": {
    "ecs:fix": "./vendor/bin/ecs --fix",
    "ecs:check": "./vendor/bin/ecs",
    "phpstan": "./vendor/bin/phpstan analyse --ansi",
    "rector:fix": "./vendor/bin/rector process --ansi",
    "rector:check": "./vendor/bin/rector process --ansi --dry-run"
},
```

> *Note*: If you already have a `scripts` section on your `composer.json` file, just merge the new scripts with the existing ones.

Usage
-----

[](#usage)

To use it, you can run one of the scripts added to your `composer.json` file:

```
composer ecs:fix
composer ecs:check
composer phpstan
composer rector:fix
composer rector:check
```

License
-------

[](#license)

PHP Code Standards is licenced under the BSD 3-Clause Licence. Please see the [license file](LICENSE) for more information.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83.8% 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 ~77 days

Recently: every ~34 days

Total

31

Last Release

182d ago

Major Versions

v1.1.0 → v2.0.02021-05-06

2.x-dev → v3.0.02023-07-08

3.x-dev → v4.0.02025-07-01

PHP version history (5 changes)v1.0.0PHP ^7.1.3

1.x-devPHP ^7.4 || ^8.0

v2.0.0PHP ^8.0

v3.0.0PHP ^8.2

v4.0.2PHP ^8.4

### Community

Maintainers

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

---

Top Contributors

[![brunogaspar](https://avatars.githubusercontent.com/u/2285372?v=4)](https://github.com/brunogaspar "brunogaspar (31 commits)")[![nguyenvietyen](https://avatars.githubusercontent.com/u/11893244?v=4)](https://github.com/nguyenvietyen "nguyenvietyen (6 commits)")

---

Tags

phpcs-fixerhypefactors

### Embed Badge

![Health badge](/badges/hypefactors-php-code-standards/health.svg)

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

###  Alternatives

[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)[hypefactors/laravel-follow

Laravel 9 Follow System for Eloquent models.

4918.7k](/packages/hypefactors-laravel-follow)[quartetcom/static-analysis-kit

Strict and modern kit to optimise the codebase defensively.

144.3k5](/packages/quartetcom-static-analysis-kit)

PHPackages © 2026

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