TIP 26 / 33

Route Resources Grouping.

If your routes have a lot of resource controllers, you can group them and call one Route::resources() instead of many single Route::resource() statements.

php
Route::resources([
    'photos' => PhotoController::class,
    'posts' => PostController::class,
]);