PHPackages                             resolve/phpstan-phpoption - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. resolve/phpstan-phpoption

ActivePhpstan-extension[Utility &amp; Helpers](/categories/utility)

resolve/phpstan-phpoption
=========================

PHPStan extension for phpoption/phpoption

v2.0.0(1y ago)128.6k↓33%MITPHPPHP ^8.1

Since Sep 7Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

resolve/phpstan-phpoption
=========================

[](#resolvephpstan-phpoption)

PHPStan extension for [phpoption/phpoption](https://github.com/schmittjoh/php-option).

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

[](#installation)

You may install this package using Composer using the command below. PHPStan should detect the extension automatically if you have its [extension installer](https://github.com/phpstan/extension-installer) installed.

```
composer require --dev resolve/phpstan-phpoption
```

Backwards compatibility promise
-------------------------------

[](#backwards-compatibility-promise)

This library follows [semver 2.0](https://semver.org/) conventions for its configuration and use. However, PHP code is not covered by this promise and should not be relied upon directly.

Similarly, PHPStan reporting new errors is not considered a breaking change and may occur after updating this library.

License
-------

[](#license)

This package is licensed under the [MIT license](LICENSE).

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~38 days

Total

3

Last Release

587d ago

Major Versions

v1.1.0 → v2.0.02024-11-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3661474?v=4)[Choraimy Kroonstuiver](/maintainers/axlon)[@axlon](https://github.com/axlon)

---

Top Contributors

[![axlon](https://avatars.githubusercontent.com/u/3661474?v=4)](https://github.com/axlon "axlon (8 commits)")

---

Tags

PHPStanstatic analysisoptionphpoption

###  Code Quality

TestsPHPUnit

Type Coverage Yes

### Embed Badge

![Health badge](/badges/resolve-phpstan-phpoption/health.svg)

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

###  Alternatives

[larastan/larastan

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

6.5k55.4M8.4k](/packages/larastan-larastan)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M118](/packages/deptrac-deptrac)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.2k](/packages/phpstan-phpstan-symfony)[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)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

20416.0M413](/packages/php-stubs-wordpress-stubs)

PHPackages © 2026

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