Hypertext Application Language for Laravel
This library is modeled off of HAL in Apigility written by Zend and myself. Apigility in turn implements HAL according to the specification.
This library is written exclusively for Laravel. It implements the expected
_embedded sections as well as pagination links for supported
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
composer require api-skeletons/laravel-hal
This library is a collection of classes and does not require a ServiceProvider to be configured.
For PHP 7.0 - 7.3 use version 1.0. For PHP 7.4+ and Laravel 8.0 use the latest version.
This work was inspired by an article written by Giulio Troccoli-Allard: Using HAL in content APIs
- Embedded Resources
- Collecitons and Paginated HAL
- Specifying a Custom Hydrator For Extracting
- Manually Creating Resources
This is documentation for Hypertext Application Language for Laravel. If you find this useful please add your ★ star to the project.