Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

custom middleware laravel 8

Route::put('/post/{id}', function ($id) {
    //
})->middleware('role:editor');
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #custom #middleware #laravel
ADD COMMENT
Topic
Name
8+3 =