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

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

ganbarodigital/php-mv-contracts
===============================

v1.2016061901(10y ago)017BSD-3-ClausePHPPHP &gt;= 5.5

Since May 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ganbarodigital/php-mv-contracts)[ Packagist](https://packagist.org/packages/ganbarodigital/php-mv-contracts)[ RSS](/packages/ganbarodigital-php-mv-contracts/feed)WikiDiscussions develop Synced 4w ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

PHP Contracts Library
=====================

[](#php-contracts-library)

[![GitHub license](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://raw.githubusercontent.com/ganbarodigital/php-mv-contracts/develop/LICENSE.md)[![@ganbarodigital on Twitter](https://camo.githubusercontent.com/cfe3f6e7ae9c18f66fa57bed843790e668bd3ac88417017dfe9f45d8f0296cb9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d25343067616e6261726f6469676974616c2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/ganbarodigital)[![Total Downloads](https://camo.githubusercontent.com/08c196c3e0cc641009d2bc83c80072900dc987334cc8e43da323d81ca7af3a17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616e6261726f6469676974616c2f7068702d6d762d636f6e7472616374732e7376673f7374796c653d666c6174)](https://packagist.org/packages/ganbarodigital/php-mv-contracts)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/dd6354f2c549db00db98ba11e68db903bfc21d3bc915a001a6a77778d9815b2a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d6d762d636f6e7472616374732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-mv-contracts/?branch=master)[![Build Status](https://camo.githubusercontent.com/2dce47467ef4e59555d8944d8298bd2582bad6b09740404af1fe4243ebc31571/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d6d762d636f6e7472616374732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-mv-contracts/build-status/master)[![Coverage Status](https://camo.githubusercontent.com/db2b73e5f73bf30d1750e19c68b79e611aa5a8f2df0e75cae01912b27e02d49d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67616e6261726f6469676974616c2f7068702d6d762d636f6e7472616374732f62616467652e737667)](https://coveralls.io/r/ganbarodigital/php-mv-contracts)[![Dependency Status](https://camo.githubusercontent.com/f867b8226d5e5a1faf90239f410013154b172ebdd124e387bb0841e81583dd15/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d6d762d636f6e7472616374732f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ganbarodigital:php-mv-contracts/dev-master)[![Reference Status](https://camo.githubusercontent.com/6a288afc0494ce07c9f928b8ac856a9657ca171892fc95e8543c44cee9ea8ef9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d6d762d636f6e7472616374732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/ganbarodigital:php-mv-contracts/references)

Introduction
------------

[](#introduction)

The PHP Contracts library provides tools to prove the correctness of your code.

It is the successor to Phix's ContractLib.

Installation
------------

[](#installation)

Run this command to add this library to your `composer.json` file:

```
composer require ganbarodigital/php-mv-contracts

```

Documentation
-------------

[](#documentation)

For full docs, see .

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~28 days

Total

2

Last Release

3663d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aura/di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

352982.2k60](/packages/aura-di)[maclof/kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster.

234907.8k4](/packages/maclof-kubernetes-client)[icamys/php-sitemap-generator

Simple PHP sitemap generator.

175356.9k7](/packages/icamys-php-sitemap-generator)

PHPackages © 2026

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