Bootstrap any application services.

@return void
346578
public function boot(Router $router): void
    {
        // Bind route models and constrains
        $router->pattern('category', '[a-zA-Z0-9-]+');
        $router->model('category', config('rinvex.categories.models.category'));

        // Map relations
        Relation::morphMap([
            'category' => config('rinvex.categories.models.category'),
        ]);

        // Load resources
        require __DIR__.'/../../routes/breadcrumbs/adminarea.php';
        $this->loadRoutesFrom(__DIR__.'/../../routes/web/adminarea.php');
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'cortex/categories');
        $this->loadTranslationsFrom(__DIR__.'/../../resources/lang', 'cortex/categories');
        ! $this->app->runningInConsole() || $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
        $this->app->runningInConsole() || $this->app->afterResolving('blade.compiler', function () {
            require __DIR__.'/../../routes/menus/adminarea.php';
        });

        // Publish Resources
        ! $this->app->runningInConsole() || $this->publishResources();
    }
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');
        
    }
119529
public function boot()
    {
        if ( ! $this->app->environment('production'))
        {
            $this->publishes([
                dirname(__DIR__) . '/resources/config/files.php'      => config_path('files.php'),
                dirname(__DIR__) . '/resources/config/image.php'      => config_path('image.php'),
                dirname(__DIR__) . '/resources/config/imagecache.php' => config_path('imagecache.php'),
                dirname(__DIR__) . '/resources/config/transit.php'    => config_path('transit.php'),
            ], 'config');

            $this->publishes([
                dirname(__DIR__) . '/resources/migrations/' => database_path('migrations')
            ], 'migrations');
        }
    }
71318
public function boot()
    {
        $this->publishes([
            __DIR__ . '/../config/helpers.php' => config_path('helpers.php'),
        ], 'config');

        $helpersDirectory = config('helpers.helpers_path');

        if (file_exists($helpersDirectory) && is_dir($helpersDirectory)) {
            $this->loadHelpersFrom($helpersDirectory);
        }
    }
708678
public function boot()
    {
        $this->loadViewsFrom(resource_path('admin-views'), 'admin');

        if (file_exists($routes = admin_path('routes.php'))) {
            $this->loadRoutesFrom($routes);
        }

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../resources/assets' => public_path('vendor'),
                __DIR__ . '/../resources/views' => resource_path('admin-views')
            ], 'laravel-admin-assets');

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

            $this->publishes([
                __DIR__.'/../database' => database_path('migrations')
            ], 'laravel-admin-migrations');
        }
    }
1273747
public function boot()
    {

        /*
         * Routes
         */
        $this->loadRoutesFrom(__DIR__ . '/../Http/routes.php');


        /*
         * Views
         */
        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'emailverification');
        $this->publishes([
            __DIR__ . '/../../resources/views' => resource_path('views/vendor/emailverification'),
        ], 'views');


        /*
         * Migrations
         */
        $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations');
        $this->publishes([
            __DIR__ . '/../../database/migrations' => database_path('migrations')
        ], 'migrations');


        /*
         * Translations
         */
        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'emailverification');
        $this->publishes([
            __DIR__ . '/../../resources/lang' => resource_path('lang/vendor/emailverification'),
        ], 'translations');

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

    }
915695
public function boot()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/laratrust.php', 'laratrust');

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

        $this->useMorphMapForRelationships();

        $this->registerMiddlewares();

        if (class_exists('\Blade')) {
            $this->registerBladeDirectives();
        }
    }
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');
        }
    }
687619
public function boot()
    {
        $this->_registerDebugbar();
        $this->publishes([
            __DIR__.'/config/config.php' => config_path('widgetize.php'),
        ]);

        $this->defineDirectives();
        $this->loadViewsFrom($this->app->basePath().'/app/Widgets/', 'Widgets');
    }
1267490
public function boot()
    {
        $this->loadMigrationsFrom(__DIR__ . '/../../../migrations');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/api.php');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/web.php');
        $this->loadViewsFrom(__DIR__ . '/../../../views', 'combine');
        $this->publishes([__DIR__ . '/../../../config/combine-core.php' => config_path('combine-core.php')]);
        $this->publishes([__DIR__ . '/../../../views' => resource_path('views/vendor/combine')]);
        $this->registerPolicies();
    }
198559
public function boot() {
		include __DIR__ .'/helper/it.php';
		if (!file_exists(base_path('config').'/itconfiguration.php')) {

			$this->publishes([__DIR__ .'/environment/config'    => base_path('config')]);
			$this->publishes([__DIR__ .'/environment/app'       => base_path('app')]);
			$this->publishes([__DIR__ .'/environment/database'  => base_path('database')]);
			$this->publishes([__DIR__ .'/environment/resources' => base_path('resources')]);
			$this->publishes([__DIR__ .'/environment/routes'    => base_path('routes')]);
		}

		Route::middleware('web')
			->prefix('it')
			->group(__DIR__ .'/it_router.php');
		require_once __DIR__ .'/helper/it.php';
		require_once __DIR__ .'/helper/fontawesome.php';
	}
281458
public function bootstrap()
    {
        $this->services = $this->app->config('provider');

        if(!is_null($services = $this->services)) {
            foreach($services as $service) {
                $this->app->make($service)->bootstrap();
            }
        }
    }
1161912
public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/../resources/views', 'bootstrap');

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../resources/views' => resource_path('views/vendor/bootstrap'),
            ], 'views');
        }
    }
902946
public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/views/role', 'role');
        $this->loadViewsFrom(__DIR__.'/views', 'dp');
        $this->publishes([
            __DIR__.'/views' => base_path('resources/views/thuylee/deeppermission'),
            __DIR__.'/migrations' => base_path('database/migrations'),
            __DIR__.'/models' => base_path('app/Models'),
            __DIR__.'/requests' => base_path('app/Http/Requests/DeepPermission'),
            __DIR__.'/middlewares' => base_path('app/Http/Middleware'),
            __DIR__.'/lang/en/deeppermission.php' => base_path('resources/lang/en/deeppermission.php'),
        ], 'deeppermission');
        $this->loadViewsFrom(__DIR__.'/views', 'dp');
        $this->publishes([

            __DIR__.'/config' => base_path('config'),
        ], 'deeppermission_config');
    }
1016157
public function boot()
	{
		$config = $this->app['config']->get('laravel-owm');

		// Loading routes file
		if ($config !== null) {

			if ($config['routes_enabled']) {
				require __DIR__ . '/Http/routes.php';
			}

		} else {
			require __DIR__ . '/Http/routes.php';
		}

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

	}
806823
public function boot()
	        {


		$this->loadViewsFrom(__DIR__ . '/resources/views/pagekit', 'page');

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/vendor/page'),
		                ], 'pagekit-views'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/pagekit'),
		                ], 'pagekit-theme'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/vendor/page')
		                ], 'pagekit-enveditor'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/public/css/pagekit' => public_path('css/pagekit'),
		                    __DIR__ . '/public/css/fonts' => public_path('css/pagekit/fonts'),
		                    __DIR__ . '/public/img' => public_path('img'),
		                    __DIR__ . '/public/assets' => public_path('assets')
		                ], 'pagekit-assets'
		            );

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

		if (!$this->app->runningInConsole()) :
		                include_once __DIR__ . '/Helpers/helper.php';
		endif;

		include_once __DIR__ . "/components/components.php";

		$this->pageTheme();

		$views = resource_path( "views/pagekit" );

		$this->loadViewsFrom($views, 'pagekit');


	}
688339
public function boot()
    {
        $this->registerTranslations();
        $this->registerConfig();
        $this->registerViews();
        $this->registerFactories();
        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
    }