v1.0.2 2019-07-25 13:10 UTC

This package is auto-updated.

Last update: 2020-09-25 16:19:32 UTC


Adds non-standard port support for routes with absolute path mask.


The recommended way to install is via Composer:

composer require adt/route-port

It requires PHP version 5.6 and supports PHP up to 7.3.


It's very simple, just define your routes using \ADT\Route class:

$router[] = new \ADT\Route('//<presenter>/<action>', 'Homepage:default');

Your application then, instead of instant redirection back to port 80, or 443, will preserve server port between HTTP requests, so you will be able to see your page defined by route with an absolute mask e.g. on port 1234: