Weave 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
Pretty Routes

Pretty Routes Laravel Package

wulfheart/pretty_routes

Pretty Routes for Laravel replaces the default route:list output with a cleaner, colorized table. Browse your app's routes grouped by HTTP method, see middleware, URIs, names and actions at a glance, and filter by method, name or path to debug routing faster.

View on GitHub
Deep Wiki
Context7

wulfheart/pretty_routes gives Laravel a cleaner way to inspect routes. Run php artisan route:pretty to replace the default route list with a readable, color-coded terminal table showing HTTP methods, URIs, names, actions, and middleware—useful for debugging and documenting your app.

  • Color-coded HTTP methods for fast scanning
  • Filterable route list by method, URI, or name
  • Middleware and action details at a glance
  • Clean terminal table instead of raw route output
  • Zero-config setup for existing Laravel routes
Frequently asked questions about Pretty Routes
How do I install Pretty Routes in a Laravel application?
Install it as a dev dependency with composer require --dev wulfheart/pretty_routes. Laravel package auto-discovery should register it, but validate that in a representative app. Keep it out of production images and avoid global installs.
Is Pretty Routes safe to use in production?
No, it is intended as a development and debugging tool, not an application dependency. Install it in require-dev and exclude it from production builds and CI artifacts. It should not enter the request path or production runtime.
Which Laravel and PHP versions does Pretty Routes support?
The available context does not specify a current support matrix, and the last release was in May 2021, so compatibility with modern Laravel, PHP, and Symfony Console versions is uncertain. Define your own matrix and test the oldest and newest supported Laravel and PHP combinations in CI. Pin a known-good version before adopting it.
Does Pretty Routes replace php artisan route:list?
Treat it as an enhancement for route introspection rather than a guaranteed replacement. Pilot it in a branch and compare its output with php artisan route:list for parity. Keep native route:list documented as the fallback.
What route information can I inspect with Pretty Routes?
The package is designed to show route methods, URIs, names, actions, and middleware in a clearer format than the default route:list output. It is meant to make route debugging, exploration, code review, and onboarding easier. Validate that the specific output you need is present in your app.
Does Pretty Routes handle resource, invokable, middleware, domain, and vendor routes accurately?
That is a key validation question rather than a guaranteed capability in the provided context. The technical evaluation recommends checking resource, invokable, middleware, domain, and vendor routes against native route:list. Run it on a route-heavy app before relying on it for documentation.
How should I test Pretty Routes before rolling it out to a team?
Start with a low-effort pilot in one repository: install with composer require --dev, confirm auto-discovery, and run it against a representative Laravel app. Compare output with php artisan route:list, especially on the largest and most route-heavy app. Add CI checks for the oldest and newest supported Laravel and PHP combinations and document a fallback.
What are the maintenance risks of using Pretty Routes?
The package has a low code footprint but a stale release cadence, with the last release in May 2021. Community and GitHub support only means there is no vendor SLA and you should not assume upstream fixes. Assign an internal owner, pin the dependency, and budget a fork or patch contingency under the MIT license.
Does Pretty Routes affect application performance?
Because it is a dev-only tool, it has negligible application scaling impact and should not affect request performance. Command execution may slow on very large route sets, so validate performance on your largest app. Do not include it in production runtime or request paths.
What should I do if Pretty Routes breaks after a Laravel upgrade?
Fall back to php artisan route:list immediately and remove or pin the package until compatibility is confirmed. Because the package is MIT licensed, you can fork and patch it if the internal value justifies the maintenance cost. Reassess the dependency on every Laravel major upgrade and keep compatibility tests in CI.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
cgv/localized-resource