techdivision / php-by-contract
A lightweight Design-by-Contract library for PHP
Installs: 2 289
Dependents: 1
Suggesters: 0
Security: 0
Stars: 14
Watchers: 22
Forks: 2
Open Issues: 0
Requires
- php: >=5.4.0
- nikic/php-parser: 0.9.*@dev
- psr/log: *
This package is auto-updated.
Last update: 2022-04-27 02:03:43 UTC
README
A lightweight design by contract library for PHP
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.