PHPackages                             vijaycs85/drupal-phpqa - 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. vijaycs85/drupal-phpqa

ActiveDrupal-tool[Testing &amp; Quality](/categories/testing)

vijaycs85/drupal-phpqa
======================

PHPQA implementation for Drupal project.

8.8.2(6y ago)849↓100%1GPL-2.0-or-later

Since Jul 20Pushed 4y agoCompare

[ Source](https://github.com/vijaycs85/drupal-phpqa)[ Packagist](https://packagist.org/packages/vijaycs85/drupal-phpqa)[ RSS](/packages/vijaycs85-drupal-phpqa/feed)WikiDiscussions 8.8.x Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

Drupal PHPQA
============

[](#drupal-phpqa)

[PHPQA](https://github.com/EdgedesignCZ/phpqa) with [Drupal](https://www.drupal.org) specific configurations.

Installation
------------

[](#installation)

Create as a composer project on drupal root directory.

```
cd path/to/drupal
composer create-project vijaycs85/drupal-phpqa --stability dev -vvv phpqa

```

Usage
-----

[](#usage)

```
cd path/to/drupal
cd phpqa
bin/phpqa

```

By default it runs below checks (on core node module):

ToolDescription[phpmetrics](https://github.com/Halleck45/PhpMetrics)Static analysis tool for PHP[phpcs](https://github.com/squizlabs/PHP_CodeSniffer)Detect violations of a coding standard[phpmd](https://github.com/phpmd/phpmd)Scan PHP project for messy code[phpcpd](https://github.com/sebastianbergmann/phpcpd)Copy/Paste Detector (CPD) for PHP code[phploc](https://github.com/sebastianbergmann/phploc)Measure the size of a PHP project[pdepend](https://github.com/pdepend/pdepend)PHP adaptation of JDepend[parallel-lint](https://github.com/JakubOnderka/PHP-Parallel-Lint)Check syntax of PHP files[security-checker](https://github.com/sensiolabs/security-checker)Check composer.lock for known security issuesCLI result would be:

[![Drupal-PHPQA-CLI-Result](./docs/Drupal-PHPQA-Cli.png)](./docs/Drupal-PHPQA-Cli.png)

Visiting `http://[drupalsite.url]/phpqa/report/phpqa.html` would look like this:

[![Drupal-PHPQA-UI-Result](./docs/Drupal-PHPQA-UI.png)](./docs/Drupal-PHPQA-UI.png)

**NOTE**

- [phpunit](https://github.com/phpunit/phpunit) has version conflict with Drupal core phpunit version
- [phpstan](https://github.com/phpstan/phpstan) has conflicts.

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

[](#configuration)

All configurations in `phpqa/.phpqa.yml` can be overridden by passing cli parameters. For example, `bin/phpqa --analyzedDirs ../core/modules/book` would run all checks on book module. Check PHPQA [README](https://github.com/EdgedesignCZ/phpqa#phpqa) for full list.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

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 ~258 days

Total

4

Last Release

1711d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f6852b98ab43fb9f6eea3d93197cd0df5873eacba0ec5cd39e4ebdc919922b6?d=identicon)[vijaycs85](/maintainers/vijaycs85)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vijaycs85-drupal-phpqa/health.svg)

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[vijaycs85/drupal-quality-checker

Setups code quality checking tools for Drupal project.

52192.3k4](/packages/vijaycs85-drupal-quality-checker)

PHPackages © 2026

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