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.11.1(1mo ago)04.5k↓90%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 3w ago

READMEChangelogDependencies (16)Versions (46)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()`, `make()`, `instance()``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`MiddlewareInterface`InterfaceHTTP middleware pipeline contract`TranslatorInterface`InterfaceTranslate keys with placeholder replacements`JobInterface`InterfaceQueue job contract: `handle()`, `fail()`, attempt/retry accessors`QueueInterface`InterfaceQueue driver contract: `push()`, `pop()`, `size()`, `failed()``RepositoryInterface`InterfaceGeneric repository: `find()`, `save()`, `delete()``EzPhpException`ClassBase exception for framework and modules

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 90.6% 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 ~1 days

Total

45

Last Release

44d ago

Major Versions

0.9.3 → 1.0.02026-03-24

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/122030400?v=4)[AU9500](/maintainers/AU9500)[@AU9500](https://github.com/AU9500)

---

Top Contributors

[![AU9500](https://avatars.githubusercontent.com/u/122030400?v=4)](https://github.com/AU9500 "AU9500 (115 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.6k730.8M601](/packages/symfony-translation-contracts)[symfony/http-client-contracts

Generic abstractions related to HTTP clients

2.0k419.3M387](/packages/symfony-http-client-contracts)

PHPackages © 2026

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