2017 © Pedro PelĂĄez
 

library psr15-middlewares

A collection a PSR-15 middlewares

image

codeinc/psr15-middlewares

A collection a PSR-15 middlewares

  • Thursday, May 3, 2018
  • by joanfabregat
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 1 Dependents
  • 3 Suggesters
  • 0 Forks
  • 0 Open issues
  • 35 Versions
  • 0 % Grown

The README.md

PSR-15 middleware

:warning: This library is deprecated and should not be used., (*1)

It is replaced by the following packages offering the same fonctonnalities in a more portable way:, (*2)

codeinc/http-headers-middleware

Provides the folowing middleware: * AddHttpHeadersMiddleware Adds HTTP headers to the response * CacheMiddleware Adds cache headers to the response * NoCacheMiddleware Adds cache prevention headers to the response * PoweredByMiddleware Adds a X-Powered-By HTTP headers to the response * HttpVersionCheckMiddleware Insure that the HTTP version of the response is the same of the version used for the request., (*3)

codeinc/robots-txt-middleware

Provides the folowing middleware: * RobotsTxtMiddleware Sends a response to /robots.txt requests using arcanedev/robots to generate the response in the robots.txt format, (*4)

codeinc/sitemap-middlware

Provides the folowing middleware: * SiteMapMiddleware Send a response to /sitemap.xml requests using tackk/cartographer to generate the response in the sitemap.xml format, (*5)

codeinc/compatibility-middleware

Provides the folowing middleware: * PhpGpcVarsMiddleware Extract PSR-7 request data to PHP GPC variables $_GET, $_POST, $_COOKIE and $_SERVER * PhpSessionMiddleware Read sesion cookie from PSR-7 requests and add session cookie to PSR-7 responses, (*6)

codeinc/security-middleware

Provides the folowing middleware: * ContentSecurityPolicyMiddleware Adds a Content-Security-Policy HTTP headers to the response * ContentTypeOptionsMiddleware Adds a X-Content-Type-Options HTTP headers to the response * ExpectCtMiddleware Adds a Expect-CT HTTP headers to the response * FrameOptionsMiddleware Adds a X-Frame-Options HTTP headers to the response * ReferrerPolicyMiddleware Adds a Referrer-Policy HTTP headers to the response * StrictTransportSecurityMiddleware Adds a Strict-Transport-Security HTTP headers to the response * XssProtectionMiddleware Adds a X-Xss-Protection HTTP headers to the response * BlockUnsecureRequestsMiddleware Blocks unsecure (other than HTTPS) requests responses, (*7)

Abandoned middleware

The following middleware are abandoned: * CallableMiddleware Uses a callable as a middleware * ExceptionCaptureMiddleware Captures exceptions thrown during the handling of the request, (*8)

License

The library is published under the MIT license (see LICENSE file)., (*9)

The Versions