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

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

guanguans/phpstan-rules
=======================

A set of additional rules for phpstan/phpstan. - 一套针对 `phpstan/phpstan` 的附加规则。

1.1.1(1mo ago)12.0k10MITPHP &gt;=7.4

Since Jan 15Compare

[ Source](https://github.com/guanguans/phpstan-rules)[ Packagist](https://packagist.org/packages/guanguans/phpstan-rules)[ Docs](https://github.com/guanguans/phpstan-rules)[ Fund](https://guanguans.github.io/sponsors)[ RSS](/packages/guanguans-phpstan-rules/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (95)Versions (8)Used By (10)

### README not available

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance89

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity39

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

Total

6

Last Release

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a49e4a0625bdf47c4e2924dcf07a053538d0c3a1e9287e8d6bfe68ed4017aa6f?d=identicon)[guanguans](/maintainers/guanguans)

---

Tags

testingPHPStandevstatic analysisstandardlinterlintrule

###  Code Quality

TestsPest

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/guanguans-phpstan-rules/health.svg)](https://phpackages.com/packages/guanguans-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)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[staabm/phpstan-todo-by

1991.8M55](/packages/staabm-phpstan-todo-by)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)[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.

3462.2M52](/packages/shipmonk-dead-code-detector)[calebdw/larastan-livewire

A Larastan / PHPStan extension for Livewire.

43482.4k3](/packages/calebdw-larastan-livewire)

PHPackages © 2026

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