Download the PHP package northwoods/conditional-middleware without Composer
On this page you can find all versions of the php package northwoods/conditional-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download northwoods/conditional-middleware
More information about northwoods/conditional-middleware
Files in northwoods/conditional-middleware
Download northwoods/conditional-middleware
More information about northwoods/conditional-middleware
Files in northwoods/conditional-middleware
Vendor northwoods
Package conditional-middleware
Short Description Middleware proxy for request condition checks
License MIT
Package conditional-middleware
Short Description Middleware proxy for request condition checks
License MIT
Please rate this library. Is it a good library?
Informations about the package conditional-middleware
Northwoods Conditional Middleware
Middleware proxy that executes a middleware based on request conditions.
Installation
The best way to install and use this package is with composer:
Usage
In this example, the wrapped $actual
middleware will only be executed if the
request accepts the application/json
content type.
Condition Callable
The condition callable should use the following signature:
The condition must return true
(by strict ===
comparison) for the wrapped
middleware to be executed. If the condition check fails the handler will be
called immediately.
All versions of conditional-middleware with dependencies
PHP Build Version
Package Version
The package northwoods/conditional-middleware contains the following files
Loading the files please wait ....