ellipse / negotiation
Content negotiation package
dev-master / 1.0.x-dev
2017-12-03 19:09 UTC
Requires
- php: >=7.1
- http-interop/http-factory: ^0.3.0
- psr/http-message: ^1.0
- willdurand/negotiation: ^2.3
Requires (Dev)
- eloquent/phony-kahlan: ^1.0
- kahlan/kahlan: ^4.0
This package is auto-updated.
Last update: 2024-11-26 00:15:13 UTC
README
This package provides a content negotiation mechanism, using the willdurand/negotiation package. It allows to choose one Psr-7 response factory based on a Psr-7 request accept header.
Require php >= 7.1
Installation composer require ellipse/negotiation
Run tests ./vendor/bin/kahlan