PHPackages                             frankbv/phpstan-enum - 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. frankbv/phpstan-enum

AbandonedArchivedPhpstan-extension[Testing &amp; Quality](/categories/testing)

frankbv/phpstan-enum
====================

A PHPStan extension for frankbv/enum

2.0.1(4y ago)05701MITPHPPHP ^7.4|^8.0

Since Mar 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/frankbv/phpstan-enum)[ Packagist](https://packagist.org/packages/frankbv/phpstan-enum)[ RSS](/packages/frankbv-phpstan-enum/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Enum
====

[](#enum)

An PHPStan extension for frankbv/enum

Installation
------------

[](#installation)

```
composer install --dev frankbv/phpstan-enum
```

License
-------

[](#license)

MIT license, see the [`LICENSE`](LICENSE) file.

(c) 2017 Frank b.v.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

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

Total

4

Last Release

1666d ago

Major Versions

1.0.1 → 2.0.02021-11-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e7366becf8ae796913298f592549f87e13dd8b5a966b0bef9c8c3574e57b1b7?d=identicon)[frankbv](/maintainers/frankbv)

---

Top Contributors

[![gnoddep](https://avatars.githubusercontent.com/u/2128434?v=4)](https://github.com/gnoddep "gnoddep (4 commits)")[![rvanvelzen](https://avatars.githubusercontent.com/u/102603?v=4)](https://github.com/rvanvelzen "rvanvelzen (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/frankbv-phpstan-enum/health.svg)

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

###  Alternatives

[larastan/larastan

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

6.5k55.4M8.3k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.2k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)[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.5M91](/packages/shipmonk-dead-code-detector)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M432](/packages/ssch-typo3-rector)[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.

33422.6M548](/packages/spaze-phpstan-disallowed-calls)

PHPackages © 2026

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