PHPackages                             ez-php/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. ez-php/contracts

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

ez-php/contracts
================

Shared interfaces and abstract base classes for the ez-php framework — zero framework coupling for standalone modules

1.0.1(1mo ago)01.6k↑341.4%20MITPHPPHP ^8.5CI passing

Since Mar 15Pushed 1mo agoCompare

[ Source](https://github.com/ez-php/contracts)[ Packagist](https://packagist.org/packages/ez-php/contracts)[ Docs](https://github.com/ez-php/contracts)[ RSS](/packages/ez-php-contracts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (26)Used By (20)

ez-php/contracts
================

[](#ez-phpcontracts)

Shared interfaces and abstract base classes for the ez-php framework.

Contracts
---------

[](#contracts)

ContractTypePurpose`ContainerInterface`InterfaceDependency injection: `bind()` and `make()``ServiceProvider`Abstract classTwo-phase lifecycle: `register()` and `boot()``ConfigInterface`InterfaceConfiguration access via dot-notation keys`DatabaseInterface`InterfaceDatabase queries, transactions, PDO access`ExceptionHandlerInterface`InterfaceConvert exceptions to HTTP responses`EzPhpException`ClassBase exception for framework and modules`MiddlewareInterface`InterfaceHTTP middleware pipeline contract

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87% 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

25

Last Release

46d ago

Major Versions

0.9.3 → 1.0.02026-03-24

### Community

Maintainers

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

---

Top Contributors

[![AU9500](https://avatars.githubusercontent.com/u/122030400?v=4)](https://github.com/AU9500 "AU9500 (80 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")

---

Tags

phpinterfacescontractsdependency-injectionez-php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/translation-contracts

Generic abstractions related to translation

2.6k698.7M431](/packages/symfony-translation-contracts)

PHPackages © 2026

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