PHPackages                             nuxed/contract - 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. nuxed/contract

AbandonedArchivedLibrary

nuxed/contract
==============

Nuxed Contract

v2.0.0(5y ago)11.0k3MITHack

Since Nov 24Pushed 5y ago2 watchersCompare

[ Source](https://github.com/nuxed/contract)[ Packagist](https://packagist.org/packages/nuxed/contract)[ RSS](/packages/nuxed-contract/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (14)Used By (3)

[![](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)

[![Coding standards status](https://github.com/nuxed/contract/workflows/coding%20standards/badge.svg?branch=develop)](https://github.com/nuxed/contract/workflows/coding%20standards/badge.svg?branch=develop)[![Coding standards status](https://github.com/nuxed/contract/workflows/static%20analysis/badge.svg?branch=develop)](https://github.com/nuxed/contract/workflows/static%20analysis/badge.svg?branch=develop)[![Total Downloads](https://camo.githubusercontent.com/77a820f2017f850f88a7c8b21ad5bae97a877b0dc2ead33dbc2813429e034e0f/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f636f6e74726163742f642f746f74616c2e737667)](https://packagist.org/packages/nuxed/contract)[![Latest Stable Version](https://camo.githubusercontent.com/a2f98fd6cc26ca3b5764e5f2f4f652748e74df2dbe66adfec770af1323880141/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f636f6e74726163742f762f737461626c652e737667)](https://packagist.org/packages/nuxed/contract)[![License](https://camo.githubusercontent.com/5d89d9ede7e2fca430ea6b37ce79c1485c081afdf1dc88c4ea222af71f97e32a/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f636f6e74726163742f6c6963656e73652e737667)](https://packagist.org/packages/nuxed/contract)

Nuxed Contract
==============

[](#nuxed-contract)

A set of abstractions extracted out of the Nuxed components

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 a Nuxed component, or another one provided by the Hack community at large.

### Installation

[](#installation)

This package can be installed with [Composer](https://getcomposer.org).

```
$ composer require nuxed/contract
```

### Design Principles

[](#design-principles)

- contracts are split by domain, each into their own sub-namespaces;
- contracts are small and consistent sets of Hack interfaces, traits, normative docblocks and reference test suites when applicable, ...;
- all contracts must have a proven use case, or implementation to enter this repository;

---

### Security

[](#security)

For information on reporting security vulnerabilities in Nuxed, see [SECURITY.md](SECURITY.md).

---

### License

[](#license)

Nuxed is open-sourced software licensed under the MIT-licensed.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% 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 ~32 days

Recently: every ~47 days

Total

12

Last Release

2010d ago

Major Versions

v0.4.0 → v1.0.02020-05-09

v1.2.0 → v2.0.02020-11-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (47 commits)")[![lexidor](https://avatars.githubusercontent.com/u/31805625?v=4)](https://github.com/lexidor "lexidor (1 commits)")

### Embed Badge

![Health badge](/badges/nuxed-contract/health.svg)

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

###  Alternatives

[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)

PHPackages © 2026

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