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-generated-at

    This PSR-15 middleware adds an X-Generated-At timestamp to the Response header.

  • PHP

    ctw/ctw-middleware-generated-by

    This PSR-15 middleware adds an X-Generated-By UUID v5 to the Response header.

  • PHP

    ctw/ctw-middleware-http-exception

    This PSR-15 middleware catches exceptions implementing "Ctw\Http\HttpException\HttpException\HttpExceptionInterface" and returns a custom error page.

  • PHP

    ctw/ctw-middleware-page-cache

    This PSR-15 middleware provides full page caching for Mezzio applications.

  • PHP

    ctw/ctw-middleware-php-config

    This PSR-15 middleware allows php.ini settings to be set at runtime with values from a config file.

  • PHP

    ctw/ctw-middleware-response-time

    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-trailing-slash

    This PSR-15 middleware adds a trailing slash to all URIs, redirecting with an HTTP 301 ("Moved Permanently") Location header.