PHPackages                             auburnite/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. auburnite/contracts

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

auburnite/contracts
===================

A set of abstractions extracted out of the Auburnite components

0.1.x-dev(2y ago)081MITPHPPHP &gt;=8.2

Since Jan 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Auburnite/Contracts)[ Packagist](https://packagist.org/packages/auburnite/contracts)[ RSS](/packages/auburnite-contracts/feed)WikiDiscussions 0.1 Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

Auburnite Contracts
===================

[](#auburnite-contracts)

A set of abstractions extracted out of the Auburnite components.

Design Principles
-----------------

[](#design-principles)

- contracts are split by domain, each into their own sub-namespaces;
- contracts are small and consistent sets of PHP interfaces, traits, normative docblocks and reference test suites when applicable;
- all contracts must have a proven implementation to enter this repository;
- they must be backward compatible with existing Auburnite components.

Packages that implement specific contracts should list them in the "provide" section of their "composer.json" file, using the `auburnite/*-implementation`convention (e.g. `"provide": { "auburnite/exception-implementation": "1.0" }`).

FAQ
---

[](#faq)

### How to use this package?

[](#how-to-use-this-package)

The abstractions in this package are useful to achieve loose coupling and interoperability. By using the provided interfaces as type hints, you are able to reuse any implementations that match their contracts. It could be an Auburnite component, or another one provided by the PHP community at large.

Depending on their semantics, some interfaces can be combined with autowiring to seamlessly inject a service in your classes.

Others might be useful as labeling interfaces, to hint about a specific behavior that could be enabled when using autoconfiguration or manual service tagging (or any other means provided by your framework.)

### How is this different from PHP-FIG's PSRs?

[](#how-is-this-different-from-php-figs-psrs)

When applicable, the provided contracts are built on top of PHP-FIG's PSRs. But the group has different goals and different processes. Here, we're focusing on providing abstractions that are useful on their own while still compatible with implementations provided by Symfony. Although not the main target, we hope that the declared contracts will directly or indirectly contribute to the PHP-FIG.

Resources
---------

[](#resources)

- [Report issues](https://github.com/Auburnite/Auburnite/issues) and [send Pull Requests](https://github.com/Auburnite/Auburnite/pulls)in the [main Auburnite repository](https://github.com/Auburnite/Auburnite)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

854d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[passchn/cakephp-vite

ViteJS plugin for CakePHP

2220.8k1](/packages/passchn-cakephp-vite)

PHPackages © 2026

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