Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds.
This library contains several development tools. This is for developers or maintainers. Sometimes it can be useful to users also, but in particular cases.
With Composer, to include this library into your
dependencies, you need to require
hoa/devtools
:
{
"require": {
"hoa/devtools": "~0.0"
}
}
Please, read the website to get more informations about how to install.
We propose a quick overview of some commands.
Check the dependencies of a specific library.
$ hoa devtools:dependency console
Dependency for the library Console:
• hoa/core => ~…
• hoa/stream => ~…
• hoa/string => ~…
Help to write (and send) a diagnostic report. Very useful to help users.
$ hoa devtools:diagnostic --section bin
[bin]
self = "…/hoa"
hoa = "/usr/local/lib/Hoa.central"
php_dir = "…/bin"
php = "…/bin/php"
Paste something somewhere (by default, on paste.hoa-project.net
).
$ echo 'foobar' | hoa devtools:paste
http://paste.hoa-project.net:80/<id>
Check if a library requires a new snapshot or not.
$ hoa devtools:requiresnapshot console
A snapshot is required, since … days (tag …, … commits to publish)!
Get the state of a library.
$ hoa devtools:state core
finalized
Different documentations can be found on the website: http://hoa-project.net/.
Hoa is under the New BSD License (BSD-3-Clause). Please, see
LICENSE
.