PHPackages                             fivelab/ci-rules - 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. fivelab/ci-rules

ActiveLibrary[Testing &amp; Quality](/categories/testing)

fivelab/ci-rules
================

Custom rules for code style and static analyzer

1.0.x-dev(1y ago)219.2k↓37.3%4[1 PRs](https://github.com/FiveLab/CiRules/pulls)4MITPHPPHP ~8.0CI passing

Since Dec 11Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/FiveLab/CiRules)[ Packagist](https://packagist.org/packages/fivelab/ci-rules)[ RSS](/packages/fivelab-ci-rules/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (4)

Russia has become a terrorist state.
------------------------------------

[](#russia-has-become-a-terrorist-state)

  #StandWithUkraine

CI Rules
========

[](#ci-rules)

- Extends `escapestudios/symfony2-coding-standard` code style rules with added our custom rules.
- Add custom rules for `phpstan`.

Development
-----------

[](#development)

For easy development you can use the `Docker`.

```
docker build -t ci-rules .
docker run -it -v $(pwd):/code --name ci-rules ci-rules bash
```

After success run and attach to container you must install vendors:

```
composer update
```

Before create the PR or merge into develop, please run next commands for validate code:

```
./bin/phpunit
./bin/phpstan

./bin/phpcs --config-set show_warnings 0
./bin/phpcs --standard=tests/phpcs.xml tests/
./bin/phpcs --standard=src/phpcs.xml src/
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance67

Regular maintenance activity

Popularity31

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 58.6% 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

Unknown

Total

1

Last Release

523d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/626ec10367b16fd0c7f8279eec25caa64084d5bd9a01789e0645279988e9a185?d=identicon)[ZhukV](/maintainers/ZhukV)

---

Top Contributors

[![ZhukV](https://avatars.githubusercontent.com/u/2256109?v=4)](https://github.com/ZhukV "ZhukV (78 commits)")[![maxvi](https://avatars.githubusercontent.com/u/6153540?v=4)](https://github.com/maxvi "maxvi (33 commits)")[![Lassombria](https://avatars.githubusercontent.com/u/14178794?v=4)](https://github.com/Lassombria "Lassombria (22 commits)")

---

Tags

Code stylespecificationquerystatic analyzersatisfy

### Embed Badge

![Health badge](/badges/fivelab-ci-rules/health.svg)

```
[![Health](https://phpackages.com/badges/fivelab-ci-rules/health.svg)](https://phpackages.com/packages/fivelab-ci-rules)
```

###  Alternatives

[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[symplify/easy-coding-standard

Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP\_CodeSniffer.

1.6k34.6M1.5k](/packages/symplify-easy-coding-standard)[tightenco/duster

Automatic configuration for Laravel apps to apply Tighten's standard linting &amp; code standards.

5942.4M201](/packages/tightenco-duster)[bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

741.8M87](/packages/bossa-phpspec2-expect)[erickskrauch/php-cs-fixer-custom-fixers

A set of custom fixers for PHP-CS-Fixer

302.1M18](/packages/erickskrauch-php-cs-fixer-custom-fixers)[denzyl/phanalist

Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.

14631.1k](/packages/denzyl-phanalist)

PHPackages © 2026

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