code: public function register()
      {
          parent::register();
  
          $this->registerConfig();
          $this->registerSidebarItems();
  
          $this->registerProviders([
              Providers\PackagesServiceProvider::class,
              Providers\AuthorizationServiceProvider::class,
              Providers\RouteServiceProvider::class,
              Providers\ViewComposerServiceProvider::class,
          ]);
          $this->registerModuleProviders();
          $this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);
  
          $this->registerFoundationService();
      }
docs: Register the service provider.