A lightweight design by contract library for PHP
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.