mezzio/mezzio-hal

Hypertext Application Language implementation for PHP and PSR-7

2.4.0 2022-01-12 12:51 UTC

README

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

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.