register(MailgatewaySettings::class); app(Router::class)->middleware(['web', 'auth:web'])->group(function ($router) { $router->get('/setting/mailgateway', SettingView::class)->name('setting.mailgateway'); }); app()->bind('mail-gateways', fn () => collect([ LocalType::class, MailmanType::class, ])); View::addNamespace('mailgateway', __DIR__ . '/Components'); } }