Hoa central

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 offers a static registry that stores key/value combinations. Any kind of PHP variable can be stored: an array, an object, a resource…


With Composer, to include this library into your dependencies, you need to require `hoa/registry`:

```json { "require": { "hoa/registry": "~2.0" } } ```

Please, read the website to get more informations about how to install.

Quick usage

As a quick example, we set an entry and retrieve it. The retrieval can be done with a static method on the Hoa\Registry\Registry class and also using the hoa:// protocol.

```php Hoa::set('foo', 'bar'); var_dump( Hoa::get('foo'), resolve('hoa://Library/Registry#foo') );



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`.