Hypertext Application Language (HAL) for PSR-7 Applications
This library provides utilities for modeling HAL resources with links and generating PSR-7 responses representing both JSON and XML serializations of them.
(The library consumes PSR-17 ResponseFactoryInterface
implementations in order to provide HAL response instances.)
Installation
Run the following to install this library:
$ composer require mezzio/mezzio-hal
Documentation
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.