Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Router Laravel Package

joomla/router

Joomla Framework Router registers application routes and dispatches incoming request URIs to controller methods. PHP 8.1+ compatible, install via Composer (joomla/router ~3.0). Suitable for building clean, maintainable routing in PHP apps.

View on GitHub
Deep Wiki
Context7

joomla/console Integration

The Router package can be integrated with an application using the joomla/console package to provide additional helpers in your application.

Commands

List Information About the Router

The debug:router command can be used to list information about your application's router, including the configured routes and the controllers configured to handle those routes.

<?php

// /path/to/console.php
use Joomla\Console\Application;
use Joomla\Router\Router;
use Joomla\Router\Command\DebugRouterCommand;

$application = new Application;

$router = new Router;

$command = new DebugRouterCommand($router);

$application->addCommand($command);

$application->execute();
php /path/to/console.php debug:router

By default, the command does not list information about a route's controller. You can pass the --show-controllers option to show this extra information if desired.

php /path/to/console.php debug:router --show-controllers
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport