PHPackages                             programic/pro-code-quality - 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. programic/pro-code-quality

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

programic/pro-code-quality
==========================

Programic Quality Control package

01PHP

Since Feb 15Pushed 4y ago2 watchersCompare

[ Source](https://github.com/programic/pro-code-quality)[ Packagist](https://packagist.org/packages/programic/pro-code-quality)[ RSS](/packages/programic-pro-code-quality/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Programic Quality Control composer package
==========================================

[](#programic-quality-control-composer-package)

Composer package that includes all the packages required by the Definition of Done for Code Quality.

- [PHPMD](https://phpmd.org/): PHP Mess Detector
- [PHPStan](https://phpstan.org/): PHP Static Analysis
- [PHPMND](https://github.com/povils/phpmnd): PHP Magic Number Detection
- [PHPCPD](https://github.com/sebastianbergmann/phpcpd): PHP Copy &amp; Paste Detection
- [ECS](https://github.com/symplify/easy-coding-standard): Easy Coding Standards
    - includes `PHP_CodeSniffer` and `PHP-CS-Fixer`
    - Additional rules:
        - symplify/coding-standard
        - slevomat/coding-standard

How to add to your project
--------------------------

[](#how-to-add-to-your-project)

1. Add remote repository:

    ```
    $ composer config --append repositories.pro-qa vcs git@bitbucket.org:programic/pro-quality-control.git
    ```
2. Make sure the `minimum-stability` is set to `dev`:

    ```
    $ composer config minimum-stability dev
    ```
3. Require the package:

    ```
    $ composer require --dev programic/quality-control
    ```
4. Copy the example config files for each tool to your project:

    - [ecs.example.php](configs/examples/ecs.example.php) -&gt; `/ecs.php`
    - [phpmd.example.xml](configs/examples/phpmd.example.xml) -&gt; `/phpmd.xml`
    - [phpstan.example.neon](configs/examples/phpstan.example.neon) -&gt; `/phpstan.neon`

    Adjust the rules as needed.
5. Add the scripts to your `composer.json` (see example in [composer.example.json](configs/examples/composer.example.json)).

How to run the code quality checks
----------------------------------

[](#how-to-run-the-code-quality-checks)

### Run all the checks

[](#run-all-the-checks)

```
$ composer check
```

### Run a specific check:

[](#run-a-specific-check)

```
$ composer check:ecs
$ composer check:phpmd
$ composer check:phpmnd
$ composer check:phpcpd
$ composer check:phpstan
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/04de5632caf547d8dfa4ffbfac25d0538f92f1e9d52d2f91a2d1d6f17a9561a5?d=identicon)[Programic](/maintainers/Programic)

---

Top Contributors

[![rick-bongers](https://avatars.githubusercontent.com/u/67374906?v=4)](https://github.com/rick-bongers "rick-bongers (4 commits)")

### Embed Badge

![Health badge](/badges/programic-pro-code-quality/health.svg)

```
[![Health](https://phpackages.com/badges/programic-pro-code-quality/health.svg)](https://phpackages.com/packages/programic-pro-code-quality)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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