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

ActiveLibrary

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 2mo ago

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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

2820d 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)")

### 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)

PHPackages © 2026

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