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)119.7k↑28.9%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 1mo 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 77% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

541d 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.4k43.5M5.2k](/packages/larastan-larastan)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49998.1M8.3k](/packages/phpstan-extension-installer)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

942.9M66](/packages/php-stubs-woocommerce-stubs)[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)[php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

302.3M79](/packages/php-stubs-wp-cli-stubs)

PHPackages © 2026

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