nuxed / contract
Nuxed Contract
Installs: 1 016
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Language:Hack
Requires
- hhvm: ~4.83.1 || ~4.84.0
- hhvm/hsl: ^4.41
- hhvm/hsl-experimental: ^4.66
Requires (Dev)
- facebook/difflib: ^1.1.1
- facebook/hh-clilib: ^2.5.2
- hhvm/hhast: ^4.82.2
- hhvm/hhvm-autoload: ^3.1.6
- hhvm/type-assert: ^4.1.2
README
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.