laravel-route-attributes
laravel-route-attributes copied to clipboard
Use PHP 8 attributes to register routes in a Laravel app
### Issue: Because Laravel processes routes on a first-come-first-serve basis, if you have routes with the same URI on different domains, it doesn't matter which domain you are trying to...
I have multiple directories with the Controller base class like that: - App\Modules\Admin - - Controller - - DashboardController - App\Modules\Api - - Controller - - UserController When I specified...
### ISSUE When using multiple Directories in the config (as seen in readme::installation) routes get registered multiple times. i.e. having a Structure like this: ``` App\Http\Controllers\ SomeController.php Api\ AnotherController.php ```...
Hello, I'm wondering how I can use nested resources? The normal way is to define the deeper resources first, then define the higher resource after. But this can't be done...
When explicitly setting the value of the attribute `ScopeBindings` to false as shown in the example below, the `RouteRegistrar` doesn't actually call `withoutScopedBindings`, resulting in the default Laravel behavior. In...
Hi! We are having an issue when adding domain routes using a Resource. php: 8.3.8 laravel: 11.13 spatie/laravel-route-attributes: 1.22.1 controller: ```php #[Resource('test')] class TestResourceController { ``` config: `route-attributes` ```php 'directories'...
In the configuration file, how to specify the prefix of the route name
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.6.0 to 2.1.0. Release notes Sourced from dependabot/fetch-metadata's releases. v2.1.0 What's Changed Relax engine-strict=true by @jeffwidman in dependabot/fetch-metadata#510 Handle branch names containing hyphen separators by @tspencer244 in...