nacosvel/contracts

The Nacosvel Components

dev-main / 1.x-dev 2024-11-06 15:52 UTC

This package is auto-updated.

Last update: 2024-11-06 15:52:14 UTC


README

package GitHub Tag Total Downloads Packagist Version Packagist PHP Version Support Packagist License

Installation

You can install the package via Composer:

composer require nacosvel/contracts

Design Principles

  • 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" }).

License

Nacosvel Contracts is made available under the MIT License (MIT). Please see License File for more information.