PHPackages                             421p/php-quality-tool-cli - 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. 421p/php-quality-tool-cli

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

421p/php-quality-tool-cli
=========================

Smart Gamma PHP Cli Quality Tool

1.0.0(7y ago)021MITPHPPHP ^7.0

Since Jun 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/421p/php-quality-tool-cli)[ Packagist](https://packagist.org/packages/421p/php-quality-tool-cli)[ RSS](/packages/421p-php-quality-tool-cli/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (8)Versions (13)Used By (0)

Smart Gamma PHP Cli Quality Tool
================================

[](#smart-gamma-php-cli-quality-tool)

> The interactive tool will allow project's team to keep common development code style standards based on pre-commit git hook

The tool allows automaticly add git pre-commit hook to local dev machine and runs set of quality assertions:

- PHPLint
- PHPCS
- php-cs-fixer
- PHPMD
- PhpSpec
- PhpUnit (TODO)
- Commit message has Jira feature number i.e AB-123 (TODO)

As additional feature it allows use php-cs-fixer with auto fix of commited files

Install
-------

[](#install)

```
composer require --dev 421p/php-quality-tool-cli

```

Usage
-----

[](#usage)

```
vendor/bin/quality

```

Available options:

```
--config-folder # Folder that contains config file.
--config-file # Name of config file.
--no-commit-autofixed # Disables adding autofixed files to commit

```

Configuration
-------------

[](#configuration)

Config example

```
# config.yml

phpmd: true
lint: true
phpcs: true
phpcs_standard: PSR2
phpfixer: true
phpfixer_standard: Symfony
phpspec: false
self_fix: true
exclude_dirs: /app/bin
```

PHPCS &amp; php-cs-fixer
------------------------

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

Will initiate assertions and if violations in code style will be found in the files applied in commit it will prompt to autofix these violations and rescan files. Autofixed files will be automaticly added to the latest commit if no `--no-commit-autofixed` option is submitted.

PHPMD
-----

[](#phpmd)

The tool will scan PhpMD warning, but won't block the commit, but will output the list and prompt to rescan your commited file if you want to fix via IDE some indicated warnings.

Docker
------

[](#docker)

Option `--no-commit-autofixed` is useful when quality tool is invoked by git hook but running inside docker container Otherwise, 2 git processes may conflict.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

Recently: every ~16 days

Total

12

Last Release

2868d ago

Major Versions

v0.1.10 → 1.0.02018-08-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/50d19b2d385f4cb6392e3f25263c4ffff41cd400224c404b84131d2e5f022820?d=identicon)[421p](/maintainers/421p)

---

Top Contributors

[![Evgenas](https://avatars.githubusercontent.com/u/2884742?v=4)](https://github.com/Evgenas "Evgenas (56 commits)")[![421p](https://avatars.githubusercontent.com/u/1667946?v=4)](https://github.com/421p "421p (6 commits)")[![haswelldev](https://avatars.githubusercontent.com/u/1667946?v=4)](https://github.com/haswelldev "haswelldev (6 commits)")

### Embed Badge

![Health badge](/badges/421p-php-quality-tool-cli/health.svg)

```
[![Health](https://phpackages.com/badges/421p-php-quality-tool-cli/health.svg)](https://phpackages.com/packages/421p-php-quality-tool-cli)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)

PHPackages © 2026

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