, (*1)
, (*2)
Hoa is a modular, extensible and
structured set of PHP libraries.
Moreover, Hoa aims at being a bridge between industrial and research worlds.
, (*3)
Hoa\Promise
, (*4)
This library is an implementation of promises., (*5)
Learn more., (*6)
Installation
With Composer, to include this library into
your dependencies, you need to
require hoa/promise
:, (*7)
$ composer require hoa/promise '~0.0'
For more installation procedures, please read the Source
page., (*8)
Testing
Before running the test suites, the development dependencies must be installed:, (*9)
$ composer install
Then, to run all the test suites:, (*10)
$ vendor/bin/hoa test:run
For more information, please read the contributor
guide., (*11)
Quick usage
Documentation
The
hack book of Hoa\Promise
contains detailed information about how to use this library and how it works., (*12)
To generate the documentation locally, execute the following commands:, (*13)
$ composer require --dev hoa/devtools
$ vendor/bin/hoa devtools:documentation --open
More documentation can be found on the project's website:
hoa-project.net., (*14)
Getting help
There are mainly two ways to get help:, (*15)
Contribution
Do you want to contribute? Thanks! A detailed contributor
guide explains
everything you need to know., (*16)
License
Hoa is under the New BSD License (BSD-3-Clause). Please, see
LICENSE
for details., (*17)