PHPackages                             b-connect/grumphp-config - 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. b-connect/grumphp-config

ActiveLibrary

b-connect/grumphp-config
========================

Default grump config for projects

4.1.0(3y ago)11.2k21CI failing

Since Mar 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/b-connect/grumphp-config)[ Packagist](https://packagist.org/packages/b-connect/grumphp-config)[ RSS](/packages/b-connect-grumphp-config/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (9)Versions (42)Used By (1)

Grump PHP config for Drupal Projects
====================================

[](#grump-php-config-for-drupal-projects)

Install
-------

[](#install)

`composer req shaquer/grumphp-config --dev`

Add following to your composer.json

```
  "extra": {
    "grumphp": {
            "config-default-path": "vendor/shaquer/grumphp-config/grumphp.yml"
        }
  }
```

Twig CS
-------

[](#twig-cs)

### Whitelist

[](#whitelist)

`/^(docroot|web)\/modules\/custom\/(.*)/ `

`/^(docroot|web)\/themes\/custom\/(.*)/`

`/^(docroot|web)\/themes\/patternlab\/(.*)/`

Json lint
---------

[](#json-lint)

### Ignore

[](#ignore)

`'/^(?!docroot\/modules\/custom).*/'`

`'/^(?!web\/modules\/custom).*/'`

Git commit messages
-------------------

[](#git-commit-messages)

No empty messages allowed.

Suffix must be in commit messaged.

Allowed suffixes (Type scope conventions)

- build
- ci
- chore
- docs
- feat
- fix
- new
- upd
- perf
- refactor
- revert
- style
- test
- chg

PHP Stan
--------

[](#php-stan)

Ignore all contrib code.

### Whitelist

[](#whitelist-1)

`'/^(?!docroot\/modules\/custom).*/'`

`'/^(?!web\/modules\/custom).*/'`

Yaml lint
---------

[](#yaml-lint)

Check all yamls.

### Whitelist

[](#whitelist-2)

`/^(docroot|web)\/modules\/custom\/(.*)/`

`/^(docroot|web)\/themes\/custom\/(.*)/`

Git blacklist
-------------

[](#git-blacklist)

Following code is not allowed

- "die("
- "dsm("
- "print\_r("
- "var\_dump("
- "exit;"

### Whitelist

[](#whitelist-3)

`/^(docroot|web)\/modules\/custom\/(.*)/`

`/^(docroot|web)\/themes\/custom\/(.*)/`

PHP CS
------

[](#php-cs)

Check for Drupal and DrupalPractice.

### Ignore folders

[](#ignore-folders)

`config/`

`docroot/libraries/`

`docroot/themes/custom/*/components`

`web/libraries/`

`web/themes/custom/*/components`

### Whitelist

[](#whitelist-4)

`/^(docroot|web)\/modules\/custom\/(.*)/`

`/^(docroot|web)\/themes\/custom\/(.*)/`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 53.7% 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 ~32 days

Recently: every ~0 days

Total

38

Last Release

1433d ago

Major Versions

0.0.1 → 1.0.02019-03-07

1.1.9 → 2.0.02020-06-24

2.0.3 → 3.0.02020-11-13

3.0.6 → 4.0.02022-06-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4e7fa327643f89e4f397a5ec1343b00bc6d91e3f8b7bea3674775ea0712bec8?d=identicon)[erik.seifert](/maintainers/erik.seifert)

---

Top Contributors

[![erik-seifert](https://avatars.githubusercontent.com/u/4093180?v=4)](https://github.com/erik-seifert "erik-seifert (22 commits)")[![erikseifert](https://avatars.githubusercontent.com/u/66311816?v=4)](https://github.com/erikseifert "erikseifert (19 commits)")

### Embed Badge

![Health badge](/badges/b-connect-grumphp-config/health.svg)

```
[![Health](https://phpackages.com/badges/b-connect-grumphp-config/health.svg)](https://phpackages.com/packages/b-connect-grumphp-config)
```

###  Alternatives

[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20729.0M124](/packages/mglaman-phpstan-drupal)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2021.0M277](/packages/drupal-core-dev)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

38244.6k16](/packages/ec-europa-toolkit)[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

13197.9k1](/packages/axelerant-drupal-quality-checker)

PHPackages © 2026

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