group(function (): void { Route::get('/stations', [StationController::class, 'index']); Route::get('/stats/searches', [StatsController::class, 'searches']); Route::get('/prediction', [PredictionController::class, 'index']); }); // Sanctum-authenticated endpoints Route::middleware('auth:sanctum')->group(function (): void { Route::get('/auth/me', [AuthController::class, 'me']); Route::post('/auth/logout', [AuthController::class, 'logout']); });