PHPackages                             mckayb/phantasy-types - 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. mckayb/phantasy-types

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mckayb/phantasy-types
=====================

Sum Types and Product Types in PHP

v1.0.0(7y ago)523MITPHP &gt;=7.1

Since Jul 4Compare

[ Source](https://github.com/mckayb/phantasy-types)[ Packagist](https://packagist.org/packages/mckayb/phantasy-types)[ RSS](/packages/mckayb-phantasy-types/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

### README not available

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2630d ago

Major Versions

v0.3.0 → v1.0.02019-02-24

PHP version history (3 changes)v0.1.0PHP &gt;=7.0.0

v0.3.0PHP &gt;=7.0

v1.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![mckayb](https://avatars.githubusercontent.com/u/1355708?v=4)](https://github.com/mckayb "mckayb (13 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mckayb-phantasy-types/health.svg)

```
[![Health](https://phpackages.com/badges/mckayb-phantasy-types/health.svg)](https://phpackages.com/packages/mckayb-phantasy-types)
```

###  Alternatives

[ctidigital/magento2-configurator

Keep magento persistently configured using files

174317.4k](/packages/ctidigital-magento2-configurator)[comcast/php-legal-licenses

A utility to generate a Licenses file containing the full license text for every dependency in your project for legal purposes.

821.1M9](/packages/comcast-php-legal-licenses)[xfra35/f3-cron

Job scheduling for the PHP Fat-Free Framework

73107.5k](/packages/xfra35-f3-cron)[bagusindrayana/laravel-coordinate

get nearby location from eloquent laravel

3019.7k](/packages/bagusindrayana-laravel-coordinate)

PHPackages © 2026

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