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

ActivePhpstan-extension

haspadar/phpstan-rules
======================

PHPStan design rules for immutability and structure

v0.48.1(6d ago)214.6k↓41.5%MITPHP ~8.3.16 || ~8.4.3 || ~8.5.0

Since Mar 14Compare

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

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

### README not available

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

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance99

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

69

Last Release

6d ago

PHP version history (2 changes)v0.1.0PHP &gt;=8.3

v0.34.0PHP ~8.3.16 || ~8.4.3 || ~8.5.0

### Community

Maintainers

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

### Embed Badge

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

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

Instant Upgrade and Automated Refactoring of any PHP code

134391.5k12](/packages/rector-rector-src)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)

PHPackages © 2026

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