PHPackages                             mspirkov/yii2-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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. mspirkov/yii2-phpstan-rules

ActivePhpstan-extension[Debugging &amp; Profiling](/categories/debugging)

mspirkov/yii2-phpstan-rules
===========================

A set of PHPStan rules for projects using the Yii2 framework

0.4.0(today)795↑942.1%MITPHP &gt;=7.4

Since Jul 4Compare

[ Source](https://github.com/mspirkov/yii2-phpstan-rules)[ Packagist](https://packagist.org/packages/mspirkov/yii2-phpstan-rules)[ RSS](/packages/mspirkov-yii2-phpstan-rules/feed)WikiDiscussions Synced today

READMEChangelogDependencies (11)Versions (7)Used By (0)

### README not available

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

###  Health Score

39

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

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

6

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45cacb752e41df997e47ec498acabbc548e07ae1c82d2d1a9a0f468c37e52a8e?d=identicon)[mspirkov](/maintainers/mspirkov)

---

Tags

PHPStanstatic analysiscode analysiscode analyseyii2yii

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

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

6.5k55.4M8.6k](/packages/larastan-larastan)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

33110.3M1.4k](/packages/szepeviktor-phpstan-wordpress)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4853.5M94](/packages/shipmonk-dead-code-detector)[calebdw/larastan

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

15118.7k4](/packages/calebdw-larastan)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.8k60](/packages/skeeks-cms)

PHPackages © 2026

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