Skip to content

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.

License

Notifications You must be signed in to change notification settings

Mark6286/mrouter

Repository files navigation

🛣️ MRouter — Lightweight PHP Routing Library

PHP Version License Build Status

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.


🚀 Features

✅ 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


📦 Installation

composer require reymark/mrouter

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages