PHP Design by Contract provides a basic implementation of contract programming in PHP 5.3+. The base Contract class allows new or existing classes to define properties as protected Attributes and methods as Routines, which require argument type/class validation, aswell as PreCondition and PostCondition checks. Instances can also check for state consistency with an invariant check.

Project Activity

See All Activity >

Follow PHP Design by Contract

PHP Design by Contract Web Site

Other Useful Business Software

The First VoIP Communications Cloud in the World The First VoIP Communications Cloud in the World Icon
The First VoIP Communications Cloud in the World Icon

The Smarter Business Phone Solution

  • Powerful Unified Communication Features
  • Fast, Easy, Free Setup & Install
  • Trusted by 47,000+ Companies in 100 Countries

Additional Project Details

Intended Audience

Developers

Programming Language

PHP

Registered

2012-03-24