PHP Package: mezzio/mezzio-router

Mezzio Router is a powerful PHP library for routing requests in web applications, providing flexible and efficient routing functionalities for developers.

Current Version: 4.1.0
Last Updated: 2025-10-11
PHP Requirement: ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
Dependencies:
mezzio/mezzio
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Mezzio Router is a feature-rich PHP library designed to handle complex routing requirements in web applications, offering robust solutions for defining routes, handling parameters, and managing route patterns effectively. With Mezzio Router, developers can create dynamic and user-friendly URLs, streamline navigation, and enhance overall application performance.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.1.0

Download Download v4.1.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/mezzio/mezzio-router/4.1.0/loader.php';
require_once 'libs/mezzio/mezzio/3.22.1/loader.php';

use Mezzio\Router\Router;
use Mezzio\Router\Route;

$obj = new Router();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.