PHPackages                             judapriest/drupal-quality-checker - 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. judapriest/drupal-quality-checker

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

judapriest/drupal-quality-checker
=================================

This a fork from vijaycs85/drupal-quality-checker, it's very specific for Ecedi starter kit &amp; distribution. Setups code quality checking tools for Drupal project.

1.2.1(5y ago)01.6kMIT

Since Dec 10Pushed 5y agoCompare

[ Source](https://github.com/Judapriest/drupal-quality-checker)[ Packagist](https://packagist.org/packages/judapriest/drupal-quality-checker)[ Docs](https://github.com/Judapriest/drupal-quality-checker)[ RSS](/packages/judapriest-drupal-quality-checker/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (7)Versions (10)Used By (0)

Drupal Code Quality Checker
===========================

[](#drupal-code-quality-checker)

---

Overview
--------

[](#overview)

Provides set of libraries to easily setup code quality checks based on [GrumPHP](https://github.com/phpro/grumphp) for Drupal module/theme/profile.

> *Note:* This library is aimed to help ecedi starterkit and distribution.

Install
-------

[](#install)

1. Add `judapriest/drupal-quality-checker` to `composer.json`: `composer require --dev judapriest/drupal-quality-checker`
2. Replace `grumphp.yml` in your project's root directory (not Drupal root directory) with `vendor/judapriest/drupal-quality-checker/grumphp.yml.dist`

That's it. Now, all tasks (listed below) run on every `git commit`.

> *Note:* As part of install, GrumPHP adds `pre-commit` hook to repository. Existing `pre-commit` might get [destroyed](https://github.com/phpro/grumphp/issues/416) when install/uninstall.

Features
--------

[](#features)

1. [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer) with Drupal standard.
2. [PHPLint](http://www.icosaedro.it/phplint/)
3. [YAML Lint](http://www.yamllint.com/)
4. [Composer](https://github.com/composer/composer)
5. [JSONLint](https://jsonlint.com/)
6. [PHP Copy/Paste Detector (CPD)](https://github.com/sebastianbergmann/phpcpd)
7. [Composer Normalizer](https://packagist.org/packages/ergebnis/composer-normalize)

Long list of additional checks/validators available [here](https://github.com/phpro/grumphp/blob/master/doc/tasks.md#tasks-1).

How to use
----------

[](#how-to-use)

### Pre-configured

[](#pre-configured)

When installed (see #install), it's configure to run on every `git commit`. It will only analyse files you are commiting.

### Stand alone run

[](#stand-alone-run)

You can also use `bin/grumphp run` from the root directory to analyse all existing file (minus the exclude or ignore files define in the grumphp.yml file).

Sample
------

[](#sample)

### Pass

[](#pass)

[![drupal-quality-checker-pass](https://user-images.githubusercontent.com/1220029/33808392-62b90710-dddd-11e7-9d0e-08f82e6e85b1.png)](https://user-images.githubusercontent.com/1220029/33808392-62b90710-dddd-11e7-9d0e-08f82e6e85b1.png)

### Fail

[](#fail)

[![drupal-quality-checker-fail](https://user-images.githubusercontent.com/1220029/33808391-62a4daec-dddd-11e7-8cf5-9c6b37f89893.png)](https://user-images.githubusercontent.com/1220029/33808391-62a4daec-dddd-11e7-8cf5-9c6b37f89893.png)

Demo
----

[](#demo)

Implemented in [Modal Configuration](https://github.com/vijaycs85/modal_config) module.

Uninstall
---------

[](#uninstall)

1. You can remove the package with `composer remove judapriest/drupal-quality-checker --update-with-dependencies`.
2. Remove the `grumphp.yml` in project's root directory if it's there.
3. Modify the .git/hooks/pre-commit and .git/hooks/commit-msg if necessary

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 55.1% 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 ~127 days

Recently: every ~87 days

Total

8

Last Release

2184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1931256d20363c19911f6981b67b633b67a8d897b502c00cda62904ac347dc24?d=identicon)[Judapriest](/maintainers/Judapriest)

---

Top Contributors

[![Judapriest](https://avatars.githubusercontent.com/u/4941691?v=4)](https://github.com/Judapriest "Judapriest (27 commits)")[![vijaycs85](https://avatars.githubusercontent.com/u/1220029?v=4)](https://github.com/vijaycs85 "vijaycs85 (21 commits)")[![dawehner](https://avatars.githubusercontent.com/u/29678?v=4)](https://github.com/dawehner "dawehner (1 commits)")

---

Tags

drupalcode checkquality check

### Embed Badge

![Health badge](/badges/judapriest-drupal-quality-checker/health.svg)

```
[![Health](https://phpackages.com/badges/judapriest-drupal-quality-checker/health.svg)](https://phpackages.com/packages/judapriest-drupal-quality-checker)
```

###  Alternatives

[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)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[vijaycs85/drupal-quality-checker

Setups code quality checking tools for Drupal project.

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

Code quality checking tools for Drupal project.

13197.9k1](/packages/axelerant-drupal-quality-checker)[moodlehq/moodle-plugin-ci

Helps running Moodle plugins analysis checks and tests under various CI environments.

612.6M](/packages/moodlehq-moodle-plugin-ci)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

214.8M28](/packages/acquia-coding-standards)

PHPackages © 2026

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