PHPackages                             mglaman/phpstan-drupal-deprecations - 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. mglaman/phpstan-drupal-deprecations

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

mglaman/phpstan-drupal-deprecations
===================================

streamline configuring Drupal deprecation testing

0.11.1(7y ago)1211.1k—2.9%GPL-2.0-or-later

Since Feb 7Pushed 7y agoCompare

[ Source](https://github.com/mglaman/phpstan-drupal-deprecations)[ Packagist](https://packagist.org/packages/mglaman/phpstan-drupal-deprecations)[ RSS](/packages/mglaman-phpstan-drupal-deprecations/feed)WikiDiscussions master Synced today

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

phpstan-drupal-deprecations
===========================

[](#phpstan-drupal-deprecations)

Streamlines configuration for deprecation testing.

Usage
-----

[](#usage)

Add `phpstan.neon` to your Drupal project. Then configure it to include either the `deprecation` or `rules_and_deprecation` testing configurations.

### Testing deprecations only

[](#testing-deprecations-only)

```
includes:
	- vendor/mglaman/phpstan-drupal-deprecations/deprecation_testing.neon
```

### Inspection rules and deprecations

[](#inspection-rules-and-deprecations)

```
includes:
	- vendor/mglaman/phpstan-drupal-deprecations/rules_and_deprecations_testing.neon
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

2

Last Release

2704d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98c03d4d2a6aa9b5ecdfc565e8f90f53f0a8f6c2757048a148b34b166d78266c?d=identicon)[mglaman](/maintainers/mglaman)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mglaman-phpstan-drupal-deprecations/health.svg)

```
[![Health](https://phpackages.com/badges/mglaman-phpstan-drupal-deprecations/health.svg)](https://phpackages.com/packages/mglaman-phpstan-drupal-deprecations)
```

###  Alternatives

[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20731.4M188](/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.

2022.6M344](/packages/drupal-core-dev)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

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

PHPackages © 2026

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