This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. The author suggests using the zendframework/zend-expressive-hal package instead.

Hypertext Application Language implementation for PHP and PSR-7

0.3.0 2017-08-07 21:28 UTC



Please use the package zendframework/zend-expressive-hal instead, as development has moved to that repository.

Build Status Coverage Status

This library provides provides utilities for modeling HAL resources with links and generating PSR-7 responses representing both JSON and XML serializations of them.


Run the following to install this library:

$ composer require weierophinney/hal


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

$ mkdocs build

You may also browse the documentation online.