how to add multiple route in middleware code example
Example 1: multiple middleware laravel
Route::group(['middleware' => ['auth', 'web']], function() {
// uses 'auth' middleware plus all middleware from $middlewareGroups['web']
Route::resource('blog','BlogController'); //Make a CRUD controller
});
Example 2: can we use two middleware in one page
Route::group(['middleware' => ['firstMiddleware','secondMiddleware']], function () {
//
});