Download the PHP package pavlakis/php-server-interface-middleware without Composer
On this page you can find all versions of the php package pavlakis/php-server-interface-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pavlakis/php-server-interface-middleware
More information about pavlakis/php-server-interface-middleware
Files in pavlakis/php-server-interface-middleware
Download pavlakis/php-server-interface-middleware
More information about pavlakis/php-server-interface-middleware
Files in pavlakis/php-server-interface-middleware
Vendor pavlakis
Package php-server-interface-middleware
Short Description Middleware to filter based on server type interface e.g. PHP SAPI
License BSD-3-Clause
Homepage http://github.com/pavlakis/php-server-interface-middleware
Package php-server-interface-middleware
Short Description Middleware to filter based on server type interface e.g. PHP SAPI
License BSD-3-Clause
Homepage http://github.com/pavlakis/php-server-interface-middleware
Please rate this library. Is it a good library?
Informations about the package php-server-interface-middleware
Server Interface (SAPI) Middleware
Middleware to filter based on server type interface e.g. PHP SAPI
Add it with composer
Pass it to a route
Use by adding it to a route. e.g. in Slim 3:
We can pass an array of accepted interfaces. If those are not matched, a default response with a 403
status code will be returned.
Pass a custom response
For a custom response pass a Response
object. e.g.
All versions of php-server-interface-middleware with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
The package pavlakis/php-server-interface-middleware contains the following files
Loading the files please wait ....