PHPackages                             metadrop/grumphp-drupal-check - 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. metadrop/grumphp-drupal-check

ActiveLibrary

metadrop/grumphp-drupal-check
=============================

Execute drupal check in a grumphp task.

v0.4.0(3y ago)062.5k↓30%10[2 PRs](https://github.com/Metadrop/grumphp-drupal-check/pulls)PHP

Since Aug 16Pushed 1mo agoCompare

[ Source](https://github.com/Metadrop/grumphp-drupal-check)[ Packagist](https://packagist.org/packages/metadrop/grumphp-drupal-check)[ RSS](/packages/metadrop-grumphp-drupal-check/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

Description
===========

[](#description)

This repository adds a task for GrumPHP that launchs [drupal-check](https://github.com/mglaman/drupal-check). During a commit check Drupal code for deprecations and discover bugs via static analysis. If a deprecated code is detected, it won't pass.

Installation
============

[](#installation)

Install it using composer:

`composer require --dev metadrop/grumphp-drupal-check`

Usage
=====

[](#usage)

1. Add the extension in your grumphp.yml file:

```
extensions:
  - GrumphpDrupalCheck\ExtensionLoader
```

2. Add drupal check to the tasks:

```
tasks:
  drupalcheck:
    drupal_root: ~
    memory_limit: ~
    deprecations: true
    analysis: true
    php8: true

```

Optionally, you can define multiple DrupalCheck arguments:

- **drupal\_root** (string): Configure the path to the Drupal root. This fallback option can be used if drupal-check could not identify Drupal root from the provided path(s). This is useful when testing a module as opposed to a Drupal installation.
- **memory\_limit** (string): Configure memory limit for the process.
- **deprecations** (boolean): Check code for deprecations. By default it is true.
- **analysis** (boolean): Check code analysis.
- **php8** (boolean): Set PHPStan phpVersion for 8.1 (Drupal 10 requirement).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance59

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~231 days

Total

8

Last Release

1210d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6c8174187fc6e70e05033737d17d5c2c7f8eafb8b02d317e58e64c5a40518bc?d=identicon)[Metadrop](/maintainers/Metadrop)

![](https://avatars.githubusercontent.com/u/3202817?v=4)[Omar Mohamad - El Hassan Lopesino](/maintainers/omarlopesino)[@omarlopesino](https://github.com/omarlopesino)

---

Top Contributors

[![omarlopesino](https://avatars.githubusercontent.com/u/3202817?v=4)](https://github.com/omarlopesino "omarlopesino (22 commits)")[![juanjol](https://avatars.githubusercontent.com/u/4212917?v=4)](https://github.com/juanjol "juanjol (10 commits)")[![MPParsley](https://avatars.githubusercontent.com/u/1823998?v=4)](https://github.com/MPParsley "MPParsley (9 commits)")[![Esrohym](https://avatars.githubusercontent.com/u/35486575?v=4)](https://github.com/Esrohym "Esrohym (7 commits)")[![lpeidro](https://avatars.githubusercontent.com/u/63868167?v=4)](https://github.com/lpeidro "lpeidro (1 commits)")[![leopathu](https://avatars.githubusercontent.com/u/6512795?v=4)](https://github.com/leopathu "leopathu (1 commits)")[![piggito](https://avatars.githubusercontent.com/u/1173779?v=4)](https://github.com/piggito "piggito (1 commits)")

### Embed Badge

![Health badge](/badges/metadrop-grumphp-drupal-check/health.svg)

```
[![Health](https://phpackages.com/badges/metadrop-grumphp-drupal-check/health.svg)](https://phpackages.com/packages/metadrop-grumphp-drupal-check)
```

###  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)[jonmldr/grumphp-doctrine-task

This library provides Doctrine's schema validation in Symfony projects as a GrumPHP task.

1396.3k](/packages/jonmldr-grumphp-doctrine-task)

PHPackages © 2026

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