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

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

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

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

0.7.6(2y ago)1344.5kMITPHP ^8.1

Since Apr 25Compare

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

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

### 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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity66

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

868d 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-rector-phpstan-rules/health.svg)

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

###  Alternatives

[larastan/larastan

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

6.4k43.5M5.2k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

78268.9M1.5k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

66466.6M1.1k](/packages/phpstan-phpstan-doctrine)[symplify/phpstan-rules

Set of Symplify rules for PHPStan

26211.1M223](/packages/symplify-phpstan-rules)[phpat/phpat

PHP Architecture Tester

1.2k3.5M32](/packages/phpat-phpat)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33120.0M375](/packages/spaze-phpstan-disallowed-calls)

PHPackages © 2026

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