techdivision/php-by-contract

This package is abandoned and no longer maintained. No replacement package was suggested.

A lightweight Design-by-Contract library for PHP

0.3.4 2014-07-24 08:43 UTC

This package is auto-updated.

Last update: 2022-04-27 02:03:43 UTC


README

A lightweight design by contract library for PHP

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

Introduction

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.

Deprecation

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.