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.

Installs: 116

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ctw/ctw-middleware-apex

4.0.0 2024-06-18 06:02 UTC

This package is auto-updated.

Last update: 2025-10-18 08:51:41 UTC


README

$ composer require ctw/ctw-middleware-apex

Redirect apex domain to www domain. e.g. example.com to www.example.com.