A lightweight Design-by-Contract library for PHP

Installs: 1 979

Dependents: 1

Stars: 16

Watchers: 22

Forks: 2

0.3.4 2014-07-24 08:43 UTC


A lightweight design by contract library for PHP

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality Code Coverage


What is php-by-contract?

php-by-contract strives to be a lightweight Design by Contract library for PHP which can be added with minimal changes to any existing projects. With Design by Contract you can enforce the object oriented structure of your code and secure the interaction of these objects with one another.


This repository is no longer under development nor is it maintained! If you want to use Design by contract have a look at Doppelgaenger. It will be maintained instead of this repository and additionally offers AOP features as well.