PHPackages                             smart-gamma/php-composter-quality-tool - 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. smart-gamma/php-composter-quality-tool

ActivePhp-composter-action[Testing &amp; Quality](/categories/testing)

smart-gamma/php-composter-quality-tool
======================================

PHP Composter Smart Gamma quality tool (pre-commit)

v0.1.11(7y ago)27.2k2[1 issues](https://github.com/smart-gamma/php-composter-quality-tool/issues)MITPHP

Since Jun 7Pushed 7y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (9)Versions (13)Used By (0)

PHP Composter: Smart Gamma Quality tool
=======================================

[](#php-composter-smart-gamma-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

Pre-Configuration
-----------------

[](#pre-configuration)

### 1.1. In order to override default setting you can autoinstall tool config.yml for further modification.

[](#11-in-order-to-override-default-setting-you-can-autoinstall-tool-configyml-for-further-modification)

if you want to modify default tool configuration, add follow line to composer.json "post-install-cmd" / "post-update-cmd" that will install default config.yml

`"PHPComposter\\GammaQualityTool\\Installer::install"`

### 1.2. Recommendation for IDE Code Style format config

[](#12-recommendation-for-ide-code-style-format-config)

[IDE PHP Scheme](https://github.com/smart-gamma/ide-sf-code-style/blob/master/symfony-smart-gamma-code-style.xml)

### 1.3. Add to .gitignore

[](#13-add-to-gitignore)

`.php_cs.cache`

Install
-------

[](#install)

### 1. Edit your composer.json

[](#1-edit-your-composerjson)

#### 1.1. Stablity

[](#11-stablity)

```
"minimum-stability": "dev",

"prefer-stable": true,

```

#### 1.2. Required fork

[](#12-required-fork)

> Until follow [pull request](https://github.com/php-composter/php-composter/pull/13) will be merged, it will require following lines to composer.json:

```
"repositories": [
    {
        "type" : "vcs",
        "url" : "git@github.com:Evgenas/php-composter.git"
    }
],

```

### 2. Package install

[](#2-package-install)

`composer require --dev smart-gamma/php-composter-quality-tool`

Usage
-----

[](#usage)

1. Edit source files
2. git add files
3. git commit -m "my commit"

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.

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.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Recently: every ~24 days

Total

12

Last Release

2787d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dbcbebc9a7f7e97d82e2c6283d888741a2d08983c5bac71bca36ebe677b223c?d=identicon)[EvgeniyKuzmin](/maintainers/EvgeniyKuzmin)

---

Top Contributors

[![Evgenas](https://avatars.githubusercontent.com/u/2884742?v=4)](https://github.com/Evgenas "Evgenas (58 commits)")

---

Tags

autofixphp-composter-qualityphp-cs-fixerviolations

### Embed Badge

![Health badge](/badges/smart-gamma-php-composter-quality-tool/health.svg)

```
[![Health](https://phpackages.com/badges/smart-gamma-php-composter-quality-tool/health.svg)](https://phpackages.com/packages/smart-gamma-php-composter-quality-tool)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[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)[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)

PHPackages © 2026

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