Middleware Features can be enforced using Laravel Pennants middlewares Route::get('/users/{user}/impersonate', function(){ // ... })->middleware(AppFeature::impersonate->middleware());