zendframework / zend-expressive-hal
Hypertext Application Language implementation for PHP and PSR-7
Installs: 187 407
Dependents: 0
Suggesters: 0
Security: 0
Stars: 40
Watchers: 21
Forks: 26
Open Issues: 7
Requires
- php: ^7.1
- psr/http-message: ^1.0.1
- psr/link: ^1.0
- willdurand/negotiation: ^2.3.1
Requires (Dev)
- doctrine/orm: ^2.6
- phpunit/phpunit: ^7.0.1
- zendframework/zend-coding-standard: ~1.0.0
- zendframework/zend-expressive-helpers: ^5.0.0alpha3
- zendframework/zend-hydrator: ^2.3.1 || ^3.0
- zendframework/zend-paginator: ^2.7
Suggests
- psr/container-implementation: ^1.0 in order to use the provided PSR-11 factories
- zendframework/zend-expressive-helpers: ^5.0 in order to use UrlHelper/ServerUrlHelper-based ExpressiveUrlGenerator with the LinkGenerator
- zendframework/zend-hydrator: ^2.3.1 in order to use the ResourceGenerator to create Resource instances from objects
- zendframework/zend-paginator: ^2.7 in order to provide paginated collections
Provides
README
Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-hal.
This library 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 zendframework/zend-expressive-hal
Documentation
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.