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

ActivePhpstan-extension

hihaho/phpstan-rules
====================

Hihaho PHPStan rules according to the guidelines

v2.2.0(2mo ago)734.6k↓28.1%1[1 PRs](https://github.com/hihaho/phpstan-rules/pulls)1MITPHPPHP ^8.2CI passing

Since Sep 20Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/hihaho/phpstan-rules)[ Packagist](https://packagist.org/packages/hihaho/phpstan-rules)[ Docs](https://guidelines.hihaho.com)[ RSS](/packages/hihaho-phpstan-rules/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (42)Versions (23)Used By (1)

Hihaho PHPStan rules
====================

[](#hihaho-phpstan-rules)

Currently implemented guidelines:

- Laravel style guide
    - Routing
        - [Slash in URL](https://guidelines.hihaho.com/laravel.html#slash-in-url)
        - [Route groups](https://guidelines.hihaho.com/laravel.html#route-groups)
    - Naming Classes
        - [Resources](https://guidelines.hihaho.com/laravel.html#resources)
        - [Listeners](https://guidelines.hihaho.com/laravel.html#listeners)
        - [Commands](https://guidelines.hihaho.com/laravel.html#commands)
        - [Mailables](https://guidelines.hihaho.com/laravel.html#mailables)
        - [Notifications](https://guidelines.hihaho.com/laravel.html#notifications)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~111 days

Total

11

Last Release

78d ago

Major Versions

v0.1.0 → v1.0.02024-05-02

v1.1.1 → v2.x-dev2024-11-27

v1.2.0 → v2.0.12024-12-11

v1.2.1 → v2.1.02025-02-26

### Community

Maintainers

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

---

Top Contributors

[![RobertBoes](https://avatars.githubusercontent.com/u/2871897?v=4)](https://github.com/RobertBoes "RobertBoes (32 commits)")[![SanderMuller](https://avatars.githubusercontent.com/u/9074391?v=4)](https://github.com/SanderMuller "SanderMuller (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![Treggats](https://avatars.githubusercontent.com/u/27585?v=4)](https://github.com/Treggats "Treggats (21 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/hihaho-phpstan-rules/health.svg)](https://phpackages.com/packages/hihaho-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)[calebdw/larastan-livewire

A Larastan / PHPStan extension for Livewire.

43482.4k3](/packages/calebdw-larastan-livewire)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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