weierophinney / hal
Hypertext Application Language implementation for PHP and PSR-7
Installs: 51
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 5
Open Issues: 0
pkg:composer/weierophinney/hal
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.