Insprired by the article The Simplest PHP Router i've created a micro-router for my own projects.
It's very simple and easy to use. It's not a full-featured router, but it's enough for my needs.
- Response-time < 5ms
- Simple and easy to use
- No dependencies
- No configuration
- No magic
- No regex
There is no installation. Just start using it in your project.
To start using the built-in php server, run the following command in the root directory of your project
php console
or php -S localhost:8000 -t public/