Packages from ctw
-
PHP
ctw/ctw-http
This package provides utility classes and constants to facilitate common operations of PSR-7 and a group of exceptions which represent HTTP status codes.
-
PHP
ctw/ctw-middleware
This packages provides common functionality for the other PSR-15 ctw/ctw-middleware-* packages.
-
PHP
ctw/ctw-middleware-apex
This PSR-15 middleware redirects with an HTTP 301 ("Moved Permanently") Location header an apex domain to www e.g. example.com to www.example.com.
-
PHP
ctw/ctw-middleware-generatedat
This PSR-15 middleware adds an X-Generated-At timestamp to the Response header.
-
PHP
ctw/ctw-middleware-generatedby
This PSR-15 middleware adds an X-Generated-By UUID v5 to the Response header.
-
PHP
ctw/ctw-middleware-htmlminifier
This PSR-15 middleware formats, fixes and beautifies the HTML in the Response body using a variety of adapters.
-
PHP
ctw/ctw-middleware-httpexception
This PSR-15 middleware catches exceptions implementing "Ctw\Http\HttpException\HttpException\HttpExceptionInterface" and returns a custom error page.
-
PHP
ctw/ctw-middleware-pagecache
This PSR-15 middleware provides full page caching for Mezzio applications.
-
PHP
ctw/ctw-middleware-phpconfig
This PSR-15 middleware allows php.ini settings to be set at runtime with values from a config file.
-
PHP
ctw/ctw-middleware-responsetime
This PSR-15 middleware adds an X-Response-Time in milliseconds to the Response header.
-
HTML
ctw/ctw-middleware-tidy
This PSR-15 middleware formats, fixes and beautifies the HTML in the Response body using HTML Tidy.
-
PHP
ctw/ctw-middleware-trailingslash
This PSR-15 middleware adds a trailing slash to all URIs, redirecting with an HTTP 301 ("Moved Permanently") Location header.
-