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

Abandoned → [symplify/phpstan-rules](/?search=symplify%2Fphpstan-rules)Phpstan-extension[Testing &amp; Quality](/categories/testing)

rector/phpstan-rules
====================

PHPStan rules for Rector projects - with focus on static reflection and Rector design patterns

0.7.6(2y ago)13955.3k16MITPHP ^8.1

Since Apr 25Compare

[ Source](https://github.com/rectorphp/phpstan-rules)[ Packagist](https://packagist.org/packages/rector/phpstan-rules)[ RSS](/packages/rector-phpstan-rules/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (12)Versions (87)Used By (16)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/rectorphp/phpstan-rules).

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~33 days

Total

86

Last Release

913d ago

PHP version history (5 changes)0.1.0PHP &gt;=7.3

0.3.0PHP &gt;=8.0

0.5.4PHP ^8.1

0.5.10PHP ^8.0

0.5.16PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

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

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

###  Alternatives

[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[symplify/phpstan-rules

Set of Symplify rules, type extensions and error formatter for PHPStan

26812.7M331](/packages/symplify-phpstan-rules)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M433](/packages/ssch-typo3-rector)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.4k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.2k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)

PHPackages © 2026

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