midweste/slimredirects

Redirect a request to a different domain. Supports wildcard, regex, http to https redirection.

Installs: 1 112

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

pkg:composer/midweste/slimredirects

0.1.13 2021-12-02 17:23 UTC

This package is auto-updated.

Last update: 2025-09-29 03:05:34 UTC


README

PSR7 Based Redirect library. Supports wildcard, regex, http to https redirection. Query string handling

-Host redirection support -Trailing slash is ignored for request matching -Assumes http://localhost is http://localhost/ -Querystring --Defaults to combination of request and rule with rule overridding request where matching --Rule fragment overrides request fragment --Rule user info overrides request user info

TODO

-"/wild/card/*/?old=querystring" match only when qs present