Dotkernel component to build complex routes, based on mezzio/mezzio-fastroute.
dot-router is a wrapper on top of mezzio/mezzio-fastroute
Documentation is available at: https://docs.dotkernel.org/dot-router/.
- PHP: 8.1, 8.2, 8.3 or 8.4
- laminas/laminas-stratigility: ^3.0 || ^4.0
- mezzio/mezzio-fastroute: ^3.12
Run the following command in your application's root directory:
composer require dotkernel/dot-router
Open your application's config/config.php
and the following line:
Dot\Router\ConfigProvider::class,