nuxed/contract

Nuxed Contract

Installs: 1 016

Dependents: 3

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Language:Hack

v2.0.0 2020-11-15 01:21 UTC

This package is auto-updated.

Last update: 2024-11-22 07:16:24 UTC


README

Coding standards status Coding standards status Total Downloads Latest Stable Version License

Nuxed Contract

A set of abstractions extracted out of the Nuxed components

The abstractions in this package are useful to achieve loose coupling and interoperability. By using the provided interfaces as type hints, you are able to reuse any implementations that match their contracts. It could be a Nuxed component, or another one provided by the Hack community at large.

Installation

This package can be installed with Composer.

$ composer require nuxed/contract

Design Principles

  • contracts are split by domain, each into their own sub-namespaces;
  • contracts are small and consistent sets of Hack interfaces, traits, normative docblocks and reference test suites when applicable, ...;
  • all contracts must have a proven use case, or implementation to enter this repository;

Security

For information on reporting security vulnerabilities in Nuxed, see SECURITY.md.

License

Nuxed is open-sourced software licensed under the MIT-licensed.