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 >

License

GNU General Public License version 3.0 (GPLv3)

Follow PHP Design by Contract

PHP Design by Contract Web Site

You Might Also Like
Top-Rated Free CRM Software Icon
Top-Rated Free CRM Software

216,000+ customers in over 135 countries grow their businesses with HubSpot

HubSpot is an AI-powered customer platform with all the software, integrations, and resources you need to connect your marketing, sales, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.

Additional Project Details

Intended Audience

Developers

Programming Language

PHP

Related Categories

PHP Software Development Software, PHP Object Oriented Software, PHP Libraries

Registered

2012-03-24