PHPackages                             cleanliness/contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. cleanliness/contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

cleanliness/contracts
=====================

Foundational contracts of Clean Architecture for PHP

1.0.1(8y ago)071MITPHPPHP ~7.1

Since Mar 23Pushed 8y agoCompare

[ Source](https://github.com/php-cleanliness/contracts)[ Packagist](https://packagist.org/packages/cleanliness/contracts)[ RSS](/packages/cleanliness-contracts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Contracts
=========

[](#contracts)

Foundational contracts of [Clean Architecture for PHP](https://github.com/php-cleanliness).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~0 days

Total

2

Last Release

2974d ago

### Community

Maintainers

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

---

Top Contributors

[![cleanbot](https://avatars.githubusercontent.com/u/36898214?v=4)](https://github.com/cleanbot "cleanbot (3 commits)")[![vinterskogen](https://avatars.githubusercontent.com/u/8015372?v=4)](https://github.com/vinterskogen "vinterskogen (3 commits)")

---

Tags

phpcontractscleanarchitecture

### Embed Badge

![Health badge](/badges/cleanliness-contracts/health.svg)

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

PHPackages © 2026

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