weierophinney / hal
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
Requires
- php: ^7.1
- psr/http-message: ^1.0
- psr/http-message-implementation: ^1.0
- psr/link: ^1.0
- willdurand/negotiation: ^2.3.1
Requires (Dev)
Suggests
- psr/container-implementation: ^1.0 in order to use the provided PSR-11 factories
- zendframework/zend-expressive-helpers: ^4.0 in order to use UrlHelper/ServerUrlHelper-based ExpressiveUrlGenerator with the LinkGenerator
- zendframework/zend-hydrator: ^2.2.2 in order to use the ResourceGenerator to create Resource instances from objects
- zendframework/zend-paginator: ^2.7 in order to provide paginated collections
Provides
This package is auto-updated.
Last update: 2019-02-20 20:00:23 UTC
README
ABANDONED
Please use the package zendframework/zend-expressive-hal instead, as development has moved to that repository.
This library provides provides utilities for modeling HAL resources with links and generating PSR-7 responses representing both JSON and XML serializations of them.
Installation
Run the following to install this library:
$ composer require weierophinney/hal
Documentation
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.