DEF STUDIO srl

Middleware

Middleware

Features can be enforced using Laravel Pennants middlewares

Route::get('/users/{user}/impersonate', function(){
    // ...
})->middleware(AppFeature::impersonate->middleware());

Edit this page
Last updated 26 April 2024