Download the PHP package pff/accept-header-service-provider without Composer
On this page you can find all versions of the php package pff/accept-header-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pff/accept-header-service-provider
More information about pff/accept-header-service-provider
Files in pff/accept-header-service-provider
Download pff/accept-header-service-provider
More information about pff/accept-header-service-provider
Files in pff/accept-header-service-provider
Vendor pff
Package accept-header-service-provider
Short Description A service provider to help enable accept header filtering for routes
License
Package accept-header-service-provider
Short Description A service provider to help enable accept header filtering for routes
License
Please rate this library. Is it a good library?
Informations about the package accept-header-service-provider
Accept Header Service Provider
This serivce provider enables you to easily filter routes based on accept headers in Silex.
To install, require the package through composer (or install it any other way you care to...)
"pff/accept-header-service-provider": "dev-master"
To use it, simply do the following:
Now a request with accept headers including application/ven.test.v1+json
and application/ven.test.v1+xml
will be handled by the first route, and requests with accept headers including application/ven.test.v2+json
and
application/ven.test.v2+xml
will be routed to the second.
All versions of accept-header-service-provider with dependencies
PHP Build Version
Package Version
Requires
silex/silex Version
1.0.*
The package pff/accept-header-service-provider contains the following files
Loading the files please wait ....