PHPackages                             wyrihaximus/phpstan-rules-wrapper - 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. wyrihaximus/phpstan-rules-wrapper

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

wyrihaximus/phpstan-rules-wrapper
=================================

🌯 PHPStan rules wrapper

12.2.0(2mo ago)61.5M↓27.9%[1 issues](https://github.com/WyriHaximus/php-phpstan-rules-wrapper/issues)1MITPHP ^8.4CI passing

Since Mar 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-phpstan-rules-wrapper)[ Packagist](https://packagist.org/packages/wyrihaximus/phpstan-rules-wrapper)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-phpstan-rules-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (26)Versions (77)Used By (1)

Wrapper around PHP Stan rules repositories
==========================================

[](#wrapper-around-php-stan-rules-repositories)

[![Total Downloads](https://camo.githubusercontent.com/0b56b19e26e420e7f2c28fc1cc08438f5f0ba1a72fadec70d9cf6607353d80aa/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f7068707374616e2d72756c65732d777261707065722f646f776e6c6f616473)](https://packagist.org/packages/wyrihaximus/phpstan-rules-wrapper/stats)[![License](https://camo.githubusercontent.com/2632c2d05a99b5566cae4da13ef48b38b06c1ddb967d3b1e06f209ea0fafd0e9/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f7068707374616e2d72756c65732d777261707065722f6c6963656e7365)](https://packagist.org/packages/wyrihaximus/phpstan-rules-wrapper)

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

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/phpstan-rules-wrapper
```

Usage
=====

[](#usage)

Works out of the box due to [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer)

Included rulesets
=================

[](#included-rulesets)

- [`ergebnis/phpstan-rules`](https://packagist.org/packages/ergebnis/phpstan-rules)
- [`phpstan/phpstan-deprecation-rules`](https://packagist.org/packages/phpstan/phpstan-deprecation-rules)
- [`phpstan/phpstan-mockery`](https://packagist.org/packages/phpstan/phpstan-mockery)
- [`phpstan/phpstan-phpunit`](https://packagist.org/packages/phpstan/phpstan-phpunit)
- [`phpstan/phpstan-strict-rules`](https://packagist.org/packages/phpstan/phpstan-strict-rules)
- [`shipmonk/dead-code-detector`](https://packagist.org/packages/shipmonk/phpstan-rules)
- [`shipmonk/phpstan-rules`](https://packagist.org/packages/shipmonk/phpstan-rules)
- [`symplify/phpstan-extensions`](https://packagist.org/packages/symplify/phpstan-extensions)
- [`staabm/phpstan-psr3`](https://packagist.org/packages/staabm/phpstan-psr3)
- [`tomasvotruba/type-coverage`](https://packagist.org/packages/tomasvotruba/type-coverage)

License
=======

[](#license)

Copyright (c) 2026 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance84

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

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

Recently: every ~18 days

Total

75

Last Release

81d ago

Major Versions

7.1.0 → 8.0.02024-10-19

8.0.0 → 9.0.02024-11-12

9.0.0 → 10.0.02024-12-25

10.22.0 → 11.0.02025-12-18

11.0.0 → 12.0.02026-01-04

PHP version history (4 changes)2.1.0PHP ^8

3.0.0PHP ^8.2

7.0.0PHP ^8.3

12.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (197 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (44 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (42 commits)")[![renovate-runner[bot]](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/renovate-runner[bot] "renovate-runner[bot] (24 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (12 commits)")

---

Tags

burritohacktoberfestphpphpstanwrapper

### Embed Badge

![Health badge](/badges/wyrihaximus-phpstan-rules-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-phpstan-rules-wrapper/health.svg)](https://phpackages.com/packages/wyrihaximus-phpstan-rules-wrapper)
```

###  Alternatives

[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20829.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)

PHPackages © 2026

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