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-route-discovery | 0.86 | 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. | 239 | 237 | 29 | 2K | 0 | 26.5 | 16.0 | MIT | 2 months ago | |
| spatie/laravel-schemaless-attributes | 0.85 | Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes. | 1,080 | 1,084 | 54 | 372K | 0 | 30.7 | 39.5 | MIT | 3 months ago | |
| laravel-lang/attributes | 0.84 | Laravel Lang: Attributes adds PHP attribute helpers for Laravel Lang packages, simplifying localization-related metadata and tooling. Includes documentation, tests, and easy Composer installation for Laravel projects. | 27 | 27 | 29 | 216K | 0 | 30.5 | 63.3 | MIT | 1 week ago | |
| poshtive/router | 0.84 | — | 0 | 0 | — | 48 | — | 0.0 | 23.0 | — | — | |
| sylius/attribute-bundle | 0.83 | — | 9 | 9 | 4 | 8K | 0 | 0.2 | 40.4 | MIT | — | |
| spatie/laravel-paginateroute | 0.83 | 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 | |
| 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 | |
| volosyuk/simple-eloquent | 0.83 | — | 55 | 56 | 10 | 2K | 0 | 1.3 | 21.6 | MIT | 6 years ago | |
| spatie/laravel-tags | 0.82 | Add flexible tagging to Laravel Eloquent models with the HasTags trait. Create, attach, detach, and query tags with ease, with built-in support for tag types, translations, and sorting—ideal for organizing content across your app. | 1,740 | 1,760 | 286 | 474K | 0 | 41.0 | 37.9 | MIT | 3 months ago | |
| spatie/pest-plugin-route-testing | 0.82 | 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 | |
| spatie/php-attribute-reader | 0.81 | Lightweight PHP 8+ utility to read native attributes from classes, methods, properties, and parameters using reflection. Designed for simple, fast attribute discovery in frameworks and libraries, with an API that fits common annotation-style workflows. | 90 | 90 | 2 | 368K | 0 | 16.0 | 56.3 | MIT | 3 months ago | |
| sylius/attribute | 0.81 | 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 | — | |
| pebblecms/laravel-database-routes | 0.80 | — | 2 | 2 | 0 | 0 | 0 | 0.4 | 0.8 | — | — | |
| sajadsdi/laravel-dynamic-router | 0.80 | — | 1 | 1 | 0 | 1 | 0 | 1.8 | 2.4 | MIT | 1 year ago | |
| webuni/commonmark-attributes-extension | 0.80 | Adds Kramdown-style attribute lists to League/CommonMark markdown, letting you assign HTML ids, classes, and other attributes to block and span elements. Deprecated: use the built-in Attributes extension in league/commonmark 1.5+ instead. | 31 | 33 | 14 | 541 | 0 | 0.3 | 12.2 | MIT | — | |
| open-southeners/extended-php | 0.79 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 82 | 0 | 15.2 | 28.4 | MIT | 7 months ago | |
| dinecat/smart-routing-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| becklyn/javascript-routing | 0.79 | — | 1 | 1 | 0 | 118 | 0 | 1.5 | 24.6 | BSD-3-Clause | 4 years ago | |
| middlewares/fast-route | 0.79 | 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 |
How can I help you explore Laravel packages today?