registerConfig(); $this->registerViews(); } public function register() { // } protected function registerConfig() { $this->mergeConfigFrom(__DIR__ . '/../Config/config.php', 'help'); } protected function registerViews() { $viewPath = resource_path('views/modules/help'); $sourcePath = __DIR__ . '/../Resources/views'; $this->loadViewsFrom(array_merge( array_map(fn($path) => $path . '/modules/help', \Config::get('view.paths')), [$sourcePath] ), 'help'); } }