A lightweight, dependency-free PHP routing library for building clean, fast, and maintainable web applications.
Designed to work in any PHP project, including plain PHP, MVC structures, or custom frameworks.
✅ Simple and expressive route definitions
✅ Supports GET, POST, PUT, DELETE, and multiple methods
✅ Dynamic parameters (/user/{id})
✅ Route grouping with prefixes and middlewares
✅ Named routes (->name('route.name'))
✅ Custom 404 handlers
✅ Fully tested with PHPUnit
✅ PSR-4 autoload compatible
composer require reymark/mrouter