PHP Psr7Middlewares\Middleware Пространство имен

Классы

Имя Описание
AccessLog
AttributeMapper Provides ability to route Psr7Middlewares specific attributes into scalar attributes.
AuraRouter
AuraSession
BasePath Middleware to strip the path prefix.
BasicAuthentication Middleware to create basic http authentication.
BlockSpam Middleware to block request from blacklist referrer.
Cache Middleware to cache the response using Cache-Control and other directives.
ClientIp Middleware returns the client ip.
Cors Middleware to implement Cors.
Csp Middleware to add the Content-Security-Policy header to the responses.
Csrf Middleware for CSRF protection Code inspired from https://github.com/paragonie/anti-csrf.
DebugBar Middleware to render a debugbar in html responses.
Delay Middleware to simulate delay in responses.
DetectDevice Middleware to detect devices using Mobile_Detect library.
DigestAuthentication Middleware to create a digest http authentication.
EncodingNegotiator Middleware that returns the client preferred encoding.
ErrorHandler Middleware to handle php errors and exceptions.
Expires Middleware to send Expires header.
Firewall Middleware to filter request by ip.
FormTimestamp Middleware to span protection using the timestamp value in forms.
FormatNegotiator Middleware returns the client preferred format.
Geolocate Middleware to geolocate the client using the ip.
GoogleAnalytics
Gzip Middleware to gzip encode the response body.
Honeypot Middleware to span protection using the honeypot technique.
Https Middleware to redirect to https protocol.
ImageTransformer Middleware to manipulate images on demand.
IncludeResponse Middleware to include a php with the response.
JsonSchema
JsonValidator
LanguageNegotiator Middleware returns the client preferred language.
MethodOverride Middleware to override the request method using http headers.
Minify
Payload Middleware to parse the body.
PhpSession Middleware to use php session.
Piwik
ReadResponse Middleware to read the response.
Recaptcha Middleware to include google recaptcha protection.
Robots Middleware to block robots search engine.
SaveResponse Middleware to save the response into a file.
Shutdown Middleware to display temporary 503 maintenance pages.
TrailingSlash Middleware to add or remove the trailing slash.
Uuid Middleware to generate UUID on each request.
Whoops Middleware to use whoops as error handler.
Www Middleware to redirect to force www subdomain or remove it.