Bootstrap the application events.

@return void
550500
public function boot()
    {
        $router = $this->app->make(Router::class);
        $path   = realpath(__DIR__ . '/../../');
        $this->addConfigComponent('antares/foundation', 'antares/foundation', $path . '/resources/config');
        $this->addLanguageComponent('antares/foundation', 'antares/foundation', $path . '/resources/lang');
        $this->assignAreaTemplate();


        $this->appendWidgetsDefaultConfig();
        if (!$this->app->routesAreCached()) {
            require "{$path}/src/routes.php";
        }

        $router->aliasMiddleware('antares.forms', FormMiddleware::class);
        $router->aliasMiddleware('antares.ui-components', UIComponentsMiddleware::class);
        $this->runtime();


        $this->app->make('events')->fire('antares.ready');
        $this->app->make('events')->fire(new AntaresReady());
        $this->app->make('view')->composer(['antares/foundation::account.index', 'antares/logger::admin.devices.*'], \Antares\Users\Http\Handlers\AccountPlaceholder::class);

        if ($this->app->bound('antares.watchdog')) {
            $this->app->make('events')->subscribe(AfterExtensionOperation::class);
        }

        $this->app->make('view')->composer('antares/foundation::breadcrumbs.bootstrap3', function($view) {
            view()->share('breadcrumbs_data', array_get($view->getData(), 'breadcrumbs', []));
        });

        $this->app->make('events')->listen(LoadServiceProviders::class, function() {
            $widgets = $this->app->make('antares.ui-components.finder')->detectRoutes();

            $widgets->each(function($widget) {
                if (class_exists($widget)) {
                    $widget::routes();
                }
            });
        });
        $this->app->bind('languages', function($app) {
            return new Languages($app);
        });
    }
1345653
public function boot()
    {
        $this->defineRoutes();
        $this->publishTests();
        $this->publishPublicAssets();
        $this->publishViews();
        $this->publishResourceAssets();
        $this->publishLanguages();
        $this->loadMigrations();
        $this->publishConfigFile();
    }
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();
    }
1185646
public function boot()
    {
        $this->client = new Client(
            $this->config('user_id'),
            $this->config('license_key'),
            $this->config('locales', ['en'])
        );
    }
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');
    }
1005917
public function boot()
    {
        $this->publishConfig();
        $this->publishMigration();

        $laravel = app();
        if ( starts_with($laravel::VERSION, '5.0') ) {
            $this->registerBlade5_0();
        } else if ( starts_with($laravel::VERSION, ['5.1', '5.2']) ) {
            $this->registerBlade5_1();
        } else {
            $this->registerBlade5_3();
        }
    }
632806
public function boot()
    {
        // Configuration
        $this->publishes([
            __DIR__ . '/../config/membership.php' => config_path('membership.php'),
        ], 'config');

        // Migrations
        $this->loadMigrationsFrom(__DIR__ . '/../migrations');
        $this->publishes([
            __DIR__ . '/../migrations/' => database_path('migrations')
        ], 'migrations');
    }
767359
public function boot()
    {
        parent::boot();

        $this->publishes([
            $this->getConfigFile() => config_path('settings.php')
        ], 'config');

        $this->publishes([
            $this->getBasePath() . '/database/migrations/' => database_path('migrations')
        ], 'migrations');
    }
328317
public function boot()
    {
        $this->publishes([
            __DIR__.'/../public' => public_path(),
            __DIR__.'/app' => app_path(),
            __DIR__.'/database' => database_path(),
            __DIR__.'/resources' => resource_path(),
            __DIR__.'/routes' => base_path('routes')
        ]);
    }
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,
            ]);
        }
    }
460304
public function boot(): void
    {
        $this->registerConsoleCommands();
        $this->registerPublishes();
        $this->registerRoutes();
        $this->registerViews();
        $this->registerTranslations();
        $this->registerEvents();
    }
993159
public function boot()
    {
        //
        $this->loadViewsFrom(__DIR__ . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'views',
            'Modules\Upload');

        Upload::deleted(
            function ($upload) {
                //
                $upload->deleteFile(false);
            }
        );
    }
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');
        }
    }
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()
		]);

	}
14376
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

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

        if (! class_exists('CreateMonitorsTable')) {
            $timestamp = date('Y_m_d_His', time());

            $this->publishes([
                __DIR__.'/../database/migrations/create_monitors_table.php.stub' => database_path('migrations/'.$timestamp.'_create_monitors_table.php'),
            ], 'migrations');
        }
    }
626505
public function boot()
    {
        $app = $this->app;

        /*
         * ----------------------------------------------------------------------------
         * Bind the IOC container to our facades
         * Completely indebted to Taylor Otwell & Laravel for this.
         * ----------------------------------------------------------------------------
         */
        Facade::setFacadeApplication($app);

        /**
         * ----------------------------------------------------------------------------
         * Load path detection for relative assets, URL and path to home.
         * ----------------------------------------------------------------------------.
         */
        require_once DIR_BASE_CORE . '/bootstrap/paths.php';

        /*
         * ----------------------------------------------------------------------------
         * Add install environment detection
         * ----------------------------------------------------------------------------
         */
        $this->initializeEnvironmentDetection($app);

        /*
         * ----------------------------------------------------------------------------
         * Enable Configuration
         * ----------------------------------------------------------------------------
         */
        $config = $this->initializeConfig($app);

        /*
         * ----------------------------------------------------------------------------
         * Set configured error reporting
         * ----------------------------------------------------------------------------
         */
        $this->setupErrorReporting($config);

        /*
         * ----------------------------------------------------------------------------
         * Enable Localization
         * ----------------------------------------------------------------------------
         */
        $this->initializeLocalization($app);

        /*
         * ----------------------------------------------------------------------------
         * Finalize paths.
         * ----------------------------------------------------------------------------
         */
        require DIR_BASE_CORE . '/bootstrap/paths_configured.php';

        /*
         * ----------------------------------------------------------------------------
         * Setup core classes aliases.
         * ----------------------------------------------------------------------------
         */
        $this->initializeClassAliases($config);

        /*
         * ----------------------------------------------------------------------------
         * Simple legacy constants like APP_CHARSET
         * ----------------------------------------------------------------------------
         */
        $this->initializeLegacyDefinitions($config, $app);

        /*
         * ----------------------------------------------------------------------------
         * Setup the core service groups.
         * ----------------------------------------------------------------------------
         */
        $this->initializeServiceProviders($app, $config);

        /*
         * ----------------------------------------------------------------------------
         * Setup file cache directories. Has to come after we define services
         * because we use the file service.
         * ----------------------------------------------------------------------------
         */
        $app->setupFilesystem();

        /*
         * ----------------------------------------------------------------------------
         * Registries for theme paths, assets, routes and file types.
         * ----------------------------------------------------------------------------
         */
        $this->initializeAssets($config);
        $this->initializeRoutes($config);
        $this->initializeFileTypes($config);

        // If we're not in the CLI SAPI, lets do additional booting for HTTP
        if (!$this->app->isRunThroughCommandLineInterface()) {
            return $this->bootHttpSapi($config, $app);
        }
    }