Hypertext Application Language implementation for PHP and PSR-7

2.4.0 2022-01-12 12:51 UTC


Build Status

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


Run the following to install this library:

$ composer require mezzio/mezzio-hal


Documentation is in the doc tree, and can be compiled using mkdocs:

$ mkdocs build

You may also browse the documentation online.