Limit::perMinute(60)->by($request->user()?->id ?: $request->ip())); RedirectIfAuthenticated::redirectUsing(fn () => route('users.me')); Config::set('view.paths', collect(File::directories(resource_path('themes'))) ->map(fn (string $theme) => sprintf('%s/views', $theme)) ->each(fn (string $theme) => View::addLocation($theme)) ->pipe(fn ($collection) => collect(View::getFinder()->getPaths())) ->unique() ->values() ->toArray()); } }