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.
This package can be installed with Composer.
$ composer require nuxed/contract
- 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;
For information on reporting security vulnerabilities in Nuxed, see SECURITY.md.
Nuxed is open-sourced software licensed under the MIT-licensed.