PHPackages                             dragon-code/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. dragon-code/contracts

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

dragon-code/contracts
=====================

A set of contracts for any project

2.25.0(3mo ago)1010.2M↓17.7%20MITPHPPHP ^7.2.5 || ^8.0CI passing

Since Jul 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/TheDragonCode/contracts)[ Packagist](https://packagist.org/packages/dragon-code/contracts)[ Fund](https://boosty.to/dragon-code)[ Fund](https://yoomoney.ru/to/410012608840929)[ RSS](/packages/dragon-code-contracts/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (10)Versions (104)Used By (20)

Contracts
=========

[](#contracts)

  ![Contracts](https://camo.githubusercontent.com/46b0fdcefcb806b1d40cbfe7eb60575b545e07541d94586d00efd470ed330128/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f436f6e7472616374732e706e673f7061747465726e3d746f706f677261706879267374796c653d7374796c655f3226666f6e7453697a653d3130307078266d643d312673686f7757617465726d61726b3d31267468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d647261676f6e2d636f6465253246636f6e747261637473266465736372697074696f6e3d412b7365742b6f662b636f6e7472616374732b666f722b616e792b70726f6a65637426696d616765733d687474707325334125324625324673796d666f6e792e636f6d2532466c6f676f7325324673796d666f6e795f626c61636b5f30332e737667)A set of contracts for any project.

[![Stable Version](https://camo.githubusercontent.com/19ed8e492e8caf4e9d48980af53ddc5a8105ad7e750330255dba1fa3429f22c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f546865447261676f6e436f64652f636f6e7472616374733f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)](https://packagist.org/packages/dragon-code/contracts)[![Total Downloads](https://camo.githubusercontent.com/1a8a815606ee6cdd05e8f435fba81ad735686a74e26c2fa7e4e488870d33fed3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647261676f6e2d636f64652f636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dragon-code/contracts)[![License](https://camo.githubusercontent.com/f6732f3bbdbdf3967f144a301e935a1f5473f86beb6b66096e8a39c144753f7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f647261676f6e2d636f64652f636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](LICENSE)

License
-------

[](#license)

This package is licensed under the [MIT License](LICENSE).

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~17 days

Recently: every ~207 days

Total

101

Last Release

107d ago

Major Versions

v1.22.1 → v2.0.02021-10-22

PHP version history (2 changes)v1.0.0PHP ^7.2.5|^8.0

v2.15.0PHP ^7.2.5 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![andrey-helldar](https://avatars.githubusercontent.com/u/10347617?v=4)](https://github.com/andrey-helldar "andrey-helldar (45 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (39 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (30 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![lliyplliuk](https://avatars.githubusercontent.com/u/12133160?v=4)](https://github.com/lliyplliuk "lliyplliuk (1 commits)")

---

Tags

interfacescontracts

### Embed Badge

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

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

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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