PHPackages                             tyam/condition - 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. tyam/condition

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

tyam/condition
==============

php condition

1.0.0(8y ago)0851MITPHP

Since Aug 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tyam/condition)[ Packagist](https://packagist.org/packages/tyam/condition)[ Docs](https://github.com/tyam/condition)[ RSS](/packages/tyam-condition/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

condition
=========

[](#condition)

php condition class (similar to Either on Haskell)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3231d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1073251?v=4)[Tetsuo Yamada](/maintainers/tyam)[@tyam](https://github.com/tyam)

---

Top Contributors

[![tyam](https://avatars.githubusercontent.com/u/1073251?v=4)](https://github.com/tyam "tyam (2 commits)")

---

Tags

condition

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tyam-condition/health.svg)

```
[![Health](https://phpackages.com/badges/tyam-condition/health.svg)](https://phpackages.com/packages/tyam-condition)
```

PHPackages © 2026

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