PHPackages                             macfja/phpqa-extensions - 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. macfja/phpqa-extensions

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

macfja/phpqa-extensions
=======================

A tool to add more QA tools to PHPQA

0.1.0(8y ago)37.2k2[7 issues](https://github.com/MacFJA/phpqa-extensions/issues)MITXSLT

Since Apr 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MacFJA/phpqa-extensions)[ Packagist](https://packagist.org/packages/macfja/phpqa-extensions)[ RSS](/packages/macfja-phpqa-extensions/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

PHPQA Extensions
================

[](#phpqa-extensions)

Add more tools to [PHPQA](https://github.com/EdgedesignCZ/phpqa)

List of tools
-------------

[](#list-of-tools)

- [PHP Magic Number Detector](https://github.com/povils/phpmnd): PHP Magic Number Detector.
- [PhpAssumptions](https://github.com/rskuipers/php-assumptions): Tool to detect assumptions.
- [PhpCodeAnalyzer](https://github.com/wapmorgan/PhpCodeAnalyzer): PhpCodeAnalyzer finds usage of non-built-in extensions in your php code.

Usage
-----

[](#usage)

### Get the list of available tools

[](#get-the-list-of-available-tools)

```
$ php vendor/bin/phpqa-extensions.php --tools

List of available tools
=======================

 --------------------------- -------- ----------------------------- -----------
  Name                        CLI      Composer                      Installed
 --------------------------- -------- ----------------------------- -----------
  PhpAssumptions              phpa     rskuipers/php-assumptions     No
  PhpCodeAnalyzer             phpca    wapmorgan/php-code-analyzer   No
  PHP Magic Number Detector   phpmnd   povils/phpmnd                 No
 --------------------------- -------- ----------------------------- -----------

```

### Install a tool on a project

[](#install-a-tool-on-a-project)

```
$ php vendor/bin/phpqa-extensions.php --add phpmnd

```

or

```
$ php vendor/bin/phpqa-extensions.php --add "PHP Magic Number Detector"

```

or

```
$ php vendor/bin/phpqa-extensions.php --add povils/phpmnd

```

Several tools can be add in one times:

```
$ php vendor/bin/phpqa-extensions.php --add phpmnd --add phpa

```

### Enable an external tool

[](#enable-an-external-tool)

```
$ php vendor/bin/phpqa-extensions.php --enable phpmnd:\MacFJA\PHPQAExtensions\Tools\Analyzer\PhpMagicNumber:app/report/phpmagicnumber.xsl

```

The syntax of the parameter `--enabled` is: `$CLI_NAME$:$WRAPPER_CLASS$` or `$CLI_NAME$:$WRAPPER_CLASS$:$REPORT_PATH$`. With:

- `$CLI_NAME$`: The name of the CLI command
- `$WRAPPER_CLASS$`: The class that will be used by PHPQA to call the tool
- `$REPORT_PATH$`: The relative path of the XLST file to do the HTML transformation (optional)

Options
-------

[](#options)

Option nameDefaultToolDescriptionphpmnd.ignore-numbers*null*PHP Magic Number DetectorList (comma separate) of number to ignore (typically 0,1,2)phpmnd.ignore-funcs*null*PHP Magic Number DetectorList (comma separate) of function to ignorephpmnd.ignore-strings*null*PHP Magic Number DetectorList (comma separate) of strings value to ignorephpmnd.strings`false`PHP Magic Number DetectorActivate the strings literal analysisphpca.since*null*PhpCodeAnalyzerOnly include extensions not included since versionphpca.extension*null*PhpCodeAnalyzerLook for usage of a specific extensionHow to contribute
-----------------

[](#how-to-contribute)

If you found a nice tool that you want to added, [open a issue on GitHub](https://github.com/MacFJA/phpqa-extensions/issues/new?template=new-tool.md).

You can also create Pull Request of a new tool.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2964d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1475671?v=4)[MacFJA](/maintainers/MacFJA)[@MacFJA](https://github.com/MacFJA)

---

Top Contributors

[![MacFJA](https://avatars.githubusercontent.com/u/1475671?v=4)](https://github.com/MacFJA "MacFJA (14 commits)")

---

Tags

extensionsphpphpqaphpqatoolsqaqatoolsextensionsphpqa

### Embed Badge

![Health badge](/badges/macfja-phpqa-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/macfja-phpqa-extensions/health.svg)](https://phpackages.com/packages/macfja-phpqa-extensions)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

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

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[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)[rybakit/phpunit-extras

Custom annotations and expectations for PHPUnit.

4778.2k1](/packages/rybakit-phpunit-extras)

PHPackages © 2026

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