spatie/laravel-route-discovery
Automatically discover Laravel routes by scanning controllers and views instead of manually defining them. Configure discovery in your routes files and use PHP attributes to customize names, middleware, and more for each discovered route.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| poshtive/router | 0.87 | — | 0 | 0 | — | 48 | — | 0.0 | 23.0 | — | — | |
| spatie/laravel-route-attributes | 0.86 | Register Laravel routes using PHP 8 attributes on controller methods (Get/Post/etc.). Automatically scans configured controller directories and registers routes without manual Route:: definitions. Includes config publishing and optional enabling/disabling of auto registration. | 886 | 890 | 86 | 59K | 0 | 31.0 | 28.6 | MIT | 2 months ago | |
| spatie/laravel-paginateroute | 0.85 | Adds a Laravel route macro to paginate via clean, translatable URLs like /news/page/2 instead of ?page=2. Includes a paginate route method and facade for generating pagination links. Note: this package is abandoned/unsupported—fork if needed. | 304 | 316 | 57 | 1K | 0 | 4.8 | 6.2 | MIT | 7 years ago | |
| spatie/laravel-navigation | 0.84 | Define a navigation tree for Laravel apps and reuse it to build menus, breadcrumbs, and other nav UI. Manage sections, nested items, and active state in PHP, register navigation via service providers/container events, and render however you like. | 577 | 580 | 32 | 41K | 0 | 5.6 | 25.7 | MIT | 1 year ago | |
| spatie/laravel-littlegatekeeper | 0.84 | Laravel middleware to password-protect your app with a single, universal username/password set in config. Quickly gate staging, previews, or temporary launches without building a full auth system; publish config and enable the provider to lock down pages. | 191 | 193 | 19 | 1K | 0 | 19.8 | 13.7 | MIT | 3 months ago | |
| spatie/laravel-missing-page-redirector | 0.84 | Automatically redirect 404 (missing) pages in Laravel to preserve SEO during site migrations. Configure old-to-new URL redirects in a config file or implement a custom redirector (e.g., database-backed) via middleware in your global stack. | 510 | 512 | 35 | 31K | 0 | 27.0 | 27.8 | MIT | 3 months ago | |
| spatie/pest-plugin-route-testing | 0.83 | Pest plugin for Laravel that automatically tests all your app’s GET routes. Run a single test to assert responses are successful, redirects, forbidden, not found, etc. Filter routes by pattern and provide models for route model bindings via bind(). | 138 | 137 | 6 | 6K | 0 | 9.0 | 23.5 | MIT | 9 months ago | |
| symfony/routing | 0.83 | Symfony Routing maps HTTP requests to routes and parameters, and generates URLs from route definitions. Define Route and RouteCollection, then use UrlMatcher to match paths and UrlGenerator to build links based on a RequestContext. | 7,621 | 7,694 | 93 | 14M | 0 | 62.5 | 53.2 | MIT | 1 week ago | |
| spatie/php-structure-discoverer | 0.83 | Discover PHP classes, interfaces, traits, and enums that match conditions (e.g., implement an interface) across your project. Fast scanning with built-in caching and rich metadata—ideal for auto-registration, tooling, and framework integrations. | 178 | 179 | 18 | 2M | 0 | 27.6 | 64.2 | MIT | 1 month ago | |
| spatie/laravel-sitemap | 0.83 | Generate XML sitemaps for Laravel by crawling your site or building them manually. Add extra URLs, set last-modified dates, and include models via a simple interface. Write sitemaps to disk with a fluent, developer-friendly API. | 2,598 | 2,629 | 299 | 613K | 0 | 47.7 | 37.3 | MIT | 2 months ago | |
| spatie/laravel-notification-log | 0.83 | Logs all notifications sent by your Laravel app, storing them as NotificationLogItems so you can query what was sent to a user, display notification history, and make sending decisions (e.g., avoid duplicates) via helpers like wasSentTo() and inThePastMinutes(). | 207 | 208 | 21 | 45K | 0 | 22.7 | 36.6 | MIT | 2 months ago | |
| spatie/laravel-demo-mode | 0.83 | Protect work-in-progress Laravel apps from prying eyes with a demo-mode middleware. Redirects visitors (including unknown routes) to an “under construction” URL until they visit a configurable access URL (e.g. /demo) to unlock protected routes. | 294 | 301 | 25 | 613 | 0 | 4.4 | 3.7 | MIT | 3 years ago | |
| spatie/laravel-auto-discoverer | 0.82 | Fast, cached discovery of PHP structures in your codebase. Find classes, interfaces, traits, and enums by conditions like “implements interface” or “uses trait,” and get rich metadata. Ideal for automation, registration, and scanning in production. | 178 | 178 | 18 | 23 | 0 | 27.6 | 0.8 | MIT | 1 month ago | |
| dinecat/smart-routing-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-endpoint-resources | 0.81 | Abandoned package that adds controller/action-based URL links to Laravel API resources and collection meta. Includes traits to generate “show/edit/update/delete” item links and “index/create/store” collection links automatically. | 240 | 240 | 13 | 0 | 0 | 2.6 | — | MIT | 5 years ago | |
| pebblecms/laravel-database-routes | 0.81 | — | 2 | 2 | 0 | 0 | 0 | 0.4 | 0.8 | — | — | |
| sylius/attribute | 0.80 | Sylius Attribute component provides a flexible attribute system for PHP apps: define attribute types, store values, and attach them to resources. Used across Sylius to add custom fields and metadata with validation and persistence support. | 8 | 8 | 4 | 9K | 0 | 0.3 | 41.6 | MIT | — | |
| sajadsdi/laravel-dynamic-router | 0.80 | — | 1 | 1 | 0 | 1 | 0 | 1.8 | 2.4 | MIT | 1 year ago | |
| middlewares/fast-route | 0.80 | PSR-15 middleware that integrates FastRoute for route matching and handler discovery. Adds the matched handler and route parameters as request attributes, and can generate 404/405 responses via a PSR-17 response factory (auto-detected by default). | 96 | 99 | 7 | 4K | 0 | 1.9 | 22.6 | MIT | 1 year ago | |
| becklyn/javascript-routing | 0.80 | — | 1 | 1 | 0 | 118 | 0 | 1.5 | 24.6 | BSD-3-Clause | 4 years ago |
How can I help you explore Laravel packages today?