spatie/laravel-route-attributes
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-options | 0.92 | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 252 | 255 | 9 | 15K | 0 | 13.5 | 26.6 | MIT | 6 months ago | |
| spatie/laravel-referer | 0.92 | Store a visitor’s original referrer in the Laravel session. Detects from utm_source first, then the external domain from the Referer header, otherwise empty. Configurable session key and referrer sources via published config. | 526 | 531 | 37 | 26K | 0 | 17.5 | 24.6 | MIT | 8 months ago | |
| spatie/laravel-searchable | 0.92 | Structured, case-insensitive search across Eloquent models and other sources. Register models/attributes (or custom search aspects) and get grouped, typed results with titles and URLs—ideal for building unified search pages in Laravel apps. | 1,373 | 1,381 | 110 | 79K | 0 | 25.4 | 25.7 | MIT | 8 months ago | |
| spatie/laravel-sitemap | 0.92 | Generate sitemaps for your Laravel site with ease. Crawl your entire site automatically or build sitemaps manually, add URLs with metadata like last modification dates, and split large crawls into multiple sitemap files. | 2,619 | 2,650 | 295 | 1M | 0 | 44.7 | 40.8 | MIT | 4 months ago | |
| spatie/laravel-route-discovery | 0.91 | 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. | 240 | 240 | 29 | 3K | 0 | 17.7 | 15.8 | MIT | 8 months ago | |
| spatie/laravel-html | 0.91 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 569K | 0 | 22.4 | 41.2 | MIT | 8 months ago | |
| spatie/laravel-data | 0.91 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| spatie/laravel-prefixed-ids | 0.90 | Generate friendly Stripe-like prefixed IDs for Laravel Eloquent models (e.g., user_xxx). Add a trait to models, create and store prefixed IDs, and resolve models from a prefixed ID via findByPrefixedId or automatic model detection. | 177 | 177 | 9 | 37K | 0 | 4.2 | 32.1 | MIT | 1 year ago | |
| spatie/laravel-visit | 0.88 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 729 | 0 | 11.2 | 10.9 | MIT | 7 months ago | |
| spatie/laravel-navigation | 0.88 | 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. | 588 | 590 | 32 | 85K | 0 | 5.7 | 29.9 | MIT | 2 years ago | |
| spatie/laravel-resource-endpoints | 0.86 | Abandoned package that adds controller-based “links” and collection “meta” links to Laravel API Resources. Automatically generates URLs for actions like index/show/edit/update/delete, so resources can expose REST endpoints without manually building routes. | 239 | 239 | 13 | 0 | 0 | 2.6 | — | MIT | 5 years ago | |
| spatie/laravel-resource-links | 0.86 | Abandoned package that adds action URLs to Laravel API resources. Generate per-item and collection links (show/edit/update/delete, index/create/store) from a controller or defined actions, so resources include ready-to-use endpoints without manual URL building. | 239 | 240 | 13 | 137 | 0 | 2.6 | 1.9 | MIT | 5 years ago | |
| saeedpooyanfar/laravel-annotation | 0.86 | A Laravel package that brings PHP annotation support to your app, letting you define and read metadata via docblocks. It enables cleaner, declarative configuration for routes, validation, and other framework features without bulky config files. | 17 | 18 | 1 | 9 | 0 | 0.1 | 2.4 | MIT | 2 years ago | |
| spatie/laravel-endpoint-resources | 0.85 | 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. | 239 | 239 | 13 | 0 | 0 | 2.6 | — | MIT | 5 years ago | |
| dentro/yalr | 0.85 | YALR (Yet Another Laravel Roles) is a lightweight roles and permissions package for Laravel. Assign roles to users, attach permissions to roles, and check abilities through simple methods, middleware, and Blade directives. | 8 | 8 | 5 | 221 | 4 | 9.0 | 22.3 | MIT | 7 months ago | |
| wulfheart/pretty_routes | 0.85 | 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. | 621 | 624 | 30 | 2K | 0 | 4.0 | 8.6 | MIT | 5 years ago | |
| apih/laravel-route-list-web | 0.85 | Adds a browser-based route inspector to Laravel, giving you a searchable, filterable web UI for your app's registered routes—method, URI, name, action, and middleware—so you can debug routing without dropping into the terminal or running artisan route:list. | 17 | — | 2 | — | 4 | 10.7 | 0.8 | MIT | 6 months ago | |
| endanguyen/yaml-swagger-laravel | 0.84 | Laravel package that integrates Swagger/OpenAPI docs defined in YAML. Load and serve YAML-based API specifications in a Laravel app to generate interactive documentation and keep definitions versionable alongside your code. | 4 | 4 | 0 | 0 | 0 | 0.0 | — | — | — | |
| laravel-lang/routes | 0.84 | — | 8 | 8 | 4 | 317K | 0 | 16.4 | 60.7 | MIT | 7 months ago | |
| bluedragon/laravel-routes | 0.84 | A Laravel package for working with your application's routes, offering a simple way to inspect and manage route definitions within your Laravel projects. | 0 | 12 | — | 1K | — | 0.0 | 41.5 | — | — |
How can I help you explore Laravel packages today?