Skip to content
/ contract Public

A set of abstractions extracted out of the Nuxed components

License

Notifications You must be signed in to change notification settings

nuxed/contract

Repository files navigation

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.