You can install the package via Composer:
composer require nacosvel/contracts
- contracts are split by domain, each into their own sub-namespaces;
- contracts are small and consistent sets of PHP interfaces, traits, normative doc-blocks and reference test suites when applicable;
- all contracts must have a proven implementation to enter this repository;
Packages that implement specific contracts should list them in the "provide" section of their "composer.json" file, using the Nacosvel/*-implementation convention (e.g. "provide": { "Nacosvel/cache-implementation": "1.0" }
).
Nacosvel Contracts is made available under the MIT License (MIT). Please see License File for more information.