Bootstrap the application services.

@return void
975502
public function boot(Router $router)
    {
        $this->publishConfigs();
        $this->bootViews();
        $this->bootAssets();
        $this->bootCommands();
        $this->publishDatabaseFiles();
        $this->registerMorphmaps();
        $this->registerBladeExtensions();
    }
996536
public function boot()
    {
        $this->publishes([
            __DIR__.'/../../config/admin-lte.php' => config_path('admin-lte.php'),
        ], 'config');
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'admin-lte');
        $this->publishes([
            __DIR__.'/../../resources/views' => resource_path('views/vendor/admin-lte')
        ], 'views');
        if ($this->app->runningInConsole()) {
            $this->commands([
                AdminLTEMakeCommand::class,
            ]);
        }
    }
659333
public function boot()
    {
        $this->publishes([
            __DIR__.'/../config/media.php' => config_path('media.php')
        ], 'config');

        $this->publishes([
            __DIR__ . '/../migrations' => $this->app->databasePath() . '/migrations'
        ], 'migrations');
    }
590382
public function boot()
    {
        $configFile = __DIR__ . '/config/themer.php';

        $this->mergeConfigFrom($configFile, 'themer');

        if ($this->app->runningInConsole()) {
            $this->publishes([
                $configFile => config_path('themer.php'),
            ], 'laranix-configs');

            $this->commands([
                ClearCompiled::class,
                LinkDirectory::class,
            ]);
        }
    }
235531
public function boot()
    {
        $this->publishes([
            __DIR__.'/config/laracart.php' => config_path('laracart.php'),
        ]);

        $this->mergeConfigFrom(
            __DIR__.'/config/laracart.php',
            'laracart'
        );

        if (!$this->migrationHasAlreadyBeenPublished()) {
            $this->publishes([
                __DIR__.'/database/migrations/add_cart_session_id_to_users_table.php.stub' => database_path('migrations/'.date('Y_m_d_His').'_add_cart_session_id_to_users_table.php'),
            ], 'migrations');
        }
    }
452455
public function boot()
    {
        $this->app['events']->listen(PermissionsModified::class, function ($event) {
            $this->app['cache']->forget('permissions');
        });

        $this->publishes([
            __DIR__ . '/config/acl.php' => config_path('acl.php')
        ], 'config');

        $this->publishes([
            __DIR__ . '/database/migrations' => database_path('migrations')
        ], 'migrations');
    }
253404
public function boot()
    {
        /*
         * Configuration
         */
        $this->publishes([
            __DIR__ . '/../config/document.php'  => config_path('document.php'),
            __DIR__ . '/../config/hashids.php'   => config_path('hashids.php'),
            __DIR__ . '/../config/observers.php' => config_path('observers.php'),
        ], 'laravel-observers');
        $this->mergeConfigFrom(
            __DIR__ . '/../config/observers.php', 'observers'
        );
        $this->mergeConfigFrom(
            __DIR__ . '/../config/document.php', 'document'
        );
        $this->mergeConfigFrom(
            __DIR__ . '/../config/hashids.php', 'hashids'
        );

        \CleaniqueCoders\LaravelObservers\Observers\Kernel::make()->observes();
    }
439944
public function boot()
    {
        //
        include __DIR__ . '/routes.php';
        $this->loadViewsFrom(__DIR__ . '/views', 'ghregiondistrict');
        $this->loadMigrationsFrom(__DIR__.'/migrations');
        // publish seeds
        $this->publishes([ __DIR__ . '/seeds' => $this->app->databasePath() . '/seeds' ], 'seeds');
        $this->publishes([__DIR__ . '/migrations' => $this->app->databasePath() . '/migrations'], 'migrations');
      // publish views
        $this->publishes([__DIR__.'/views' => resource_path('views/ghregiondistrict'),], 'views');
        
    }
223106
public function boot()
    {
        $this->registerMiddleware();
        $this->registerResources();
        $this->registerViewComposerData();
        $this->registerPassportResources();
        $this->registerWidget();
        $this->registerAdminMenu();
        $this->registerBreadcrumb();
        $this->registerPaymentOptions();
        $this->registerShippingOption();
        $this->registerPermissions();
        $this->registerAdminConfiguration();
        $this->registerAdminMakeCommand();
        $this->registerModelContracts();
    }
572571
public function boot()
    {
        $this->publishes([
            __DIR__ . '/../../config/roles.php' => config_path('roles.php')
        ], 'config');

        $this->publishes([
            __DIR__ . '/../../migrations/' => base_path('/database/migrations')
        ], 'migrations');

        $this->registerBladeExtensions();
    }
242487
public function boot() {

        $this->setupConfiguration();

        $this->setupMigrations();
        $this->setupSeeds();

        $this->setupRoutes($this->app->router);

        $this->setupTranslations();

        $this->setupViews();

        $this->setupAssets();
    }
1268956
public function boot()
    {
        $configs = [
            'appsettings'       => 'appsettings.php',
            'globalviewvars'    => 'globalviewvars.php',
            'themerdefaultfiles'=> 'themerdefaultfiles.php',
            'socialmedia'       => 'socialmedia.php',
            'defaultusergroups' => 'defaultusergroups.php',
        ];

        $publishes = [];

        foreach ($configs as $key => $config) {
            $configFile = __DIR__ . '/config/' . $config;
            $this->mergeConfigFrom($configFile, $key);

            $publishes[$configFile] = config_path($config);
        }

        if ($this->app->runningInConsole()) {
            $this->publishes($publishes, 'laranix-configs');
        }
    }
502106
public function boot(): void
    {
        $this->publishes(
            [
                __DIR__ . '/../config/laravel_entity_services.php' =>
                    $this->app->make('path.config') . DIRECTORY_SEPARATOR . 'laravel_entity_services.php',
            ],
            'laravel_repositories'
        );
        $this->mergeConfigFrom(__DIR__ . '/../config/laravel_entity_services.php', 'laravel_entity_services');

        $this->registerCustomBindings();
    }
77404
public function boot()
    {       
		// publish views
        $this->publishes([__DIR__.'/resources/views' => resource_path('views/backend/geomanager')], 'views');
        // publish GeoTemplates trait
        $this->publishes([__DIR__.'/app/GeoTemplates.php' => app_path('PageTemplates.php')], 'trait');
        // publish migrations
        $this->publishes([__DIR__.'/database/migrations' => database_path('migrations')], 'migrations');
		// publish template crud
        $this->publishes([__DIR__.'/resources/views/crud/fields' => resource_path('views/backend/crud/fields')], 'crud-template');
		// publish langs
        $this->publishes([__DIR__.'/resources/views/lang' => resource_path('views/lang')], 'langs');
    }
810469
public function boot()
    {
        $this->loadConfigs();
        $this->loadMigrations();
        $this->loadViews();
        $this->loadCommands();
        $this->loadPublishable();
    }
334093
public function boot()
    {
        // Publish config
        $this->publishes([
            __DIR__ . '/../../config/config.php' => config_path('larasset.php')
        ], 'config');

        $this->mergeConfigFrom(
            __DIR__ . '/../../config/config.php',
            'larasset'
        );

        // Init assets
        $this->app->make('asset', [public_path()."/assets"]);
    }
1336873
public function boot()
    {
        $this->publishes([
            __DIR__.'/Models' => app_path('Models'),

            __DIR__.'/Models/Concrete/_AbstractEloquentRepository.php' => file_exists(app_path('Models/Concrete/AbstractEloquentRepository.php')) ? app_path('Models/Concrete/_AbstractEloquentRepository.php') : app_path('Models/Concrete/AbstractEloquentRepository.php'),

            __DIR__.'/Models/Contracts/_RepositoryInterface.php' => file_exists(app_path('Models/Contracts/RepositoryInterface.php')) ? app_path('Models/Contracts/_RepositoryInterface.php') : app_path('Models/Contracts/RepositoryInterface.php')
        ]);
    }