ルート定義には、グループ化とミドルウェアの使用を活用しましょう。これにより、コードの整理と再利用が容易になります。
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('/dashboard', [DashboardController::class, 'index']);
Route::get('/profile', [ProfileController::class, 'show']);
});