PHPackages                             knplabs/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. knplabs/phpstan-rules

ActivePhpstan-extension[Validation &amp; Sanitization](/categories/validation)

knplabs/phpstan-rules
=====================

PHPStan rules shared across KnpLabs organization projects

v0.1.0(yesterday)113↑1515.4%MITPHP ^8.2

Since Jul 15Compare

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

READMEChangelogDependencies (3)Versions (4)Used By (0)

### README not available

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

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/202732?v=4)[KNP Labs](/maintainers/KnpLabs)[@KnpLabs](https://github.com/KnpLabs)

---

Tags

phpPHPStanstatic analysisrulesgood practice

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

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

6.5k55.4M9.0k](/packages/larastan-larastan)[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.5M97](/packages/shipmonk-dead-code-detector)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.5k](/packages/phpstan-phpstan-doctrine)[calebdw/larastan

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

15118.7k4](/packages/calebdw-larastan)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2138.8k20](/packages/leroy-merlin-br-coding-standard)

PHPackages © 2026

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