n3xt0r/laravel-passport-modern-scopes
Attribute-based OAuth scope enforcement for Laravel Passport. Declare required scopes directly on controllers/actions via PHP 8 attributes, then enforce them with a single middleware. Keeps routes clean and auth rules close to the code they protect.
|
Package
|
Constraint
|
|---|---|
| laravel/passport | ^13.0 |
|
Package
|
Constraint
|
|---|---|
| nunomaduro/collision | ^8.0 |
| orchestra/testbench | ^10.8|^11.0 |
How can I help you explore Laravel packages today?