Boot the application's service providers.

@return void
178795
public function boot()
    {
        if ($this->booted) {
            return;
        }

        array_walk($this->serviceProviders, function($provider)
        {
            $this->bootProvider($provider);
        });

        $this->bootApplication();
    }
261804
public function boot()
	{
		$this->package('wardrobe/core');
		$this->setConnection();
		$this->bindRepositories();
		$this->bootCommands();

		require_once __DIR__.'/../../themeHelpers.php';
		require_once __DIR__.'/../../routes.php';
		require_once __DIR__.'/../../filters.php';
	}
868352
public function boot()
    {
        $router = $this->app->make(Router::class);
        $events = $this->app->make(Dispatcher::class);
        $kernel = $this->app->make(Kernel::class);

        $this->setExtensionPath();

        $this->registerEventListeners($events);
        $this->registerRouteMiddleware($router, $kernel);
        $this->bootConfiguration();
        $this->bootMemory();
        $this->bootExtensionComponents();
        $this->bootExtensionRouting();
        $this->bootApiRouting($router);
        $this->loadMenuFile();
        $this->loadBreadcrumbsFile();
    }
1315220
public function boot() {
    $this->package('palmabit/multilanguage');

    $this->registerAliases();
    $this->updateLocales();

    require __DIR__ . "/../../filters.php";
    require __DIR__ . "/../../routes.php";
    require __DIR__ . "/../../composer.php";
  }
854245
private function bootProviders()
    {
        foreach ($this->providers as $provider) {
            if ($provider instanceof Closure) {
                $provider($this);
            } else {
                (new $provider($this))->boot();
            }
        }
    }
1254227
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../config/service-classes.php' => config_path('service-classes.php'),
            ]);
        }

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

        $this->commands([
            ServiceMakeCommand::class,
            CachedServiceMakeCommand::class,
        ]);

        ServiceCaller::setHandlerMethod(config('service-classes.method', 'run'));
    }
784684
public function boot()
    {
        $this->configure();

        // Publishing configs
        $this->publishes([__DIR__.'/../config/publish' => config_path('soda')], 'soda.config');
        $this->publishes([__DIR__.'/../public' => public_path('soda/cms')], 'soda.assets');

        $this->loadMigrationsFrom(__DIR__.'/../migrations');
        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'soda');
        $this->loadViewsFrom(__DIR__.'/../resources/views', config('soda.cms.hint'));

        $this->extendBlade();

        $this->registerDependencies([
            RouteServiceProvider::class,
        ]);
    }
331509
public function boot()
    {
        $this->getContainer()
            ->addProvider(ArraySerializerProvider::class)
            ->addProvider(JsonSerializerProvider::class)
            ->addProvider(CompressorProvider::class)
            ->addProvider(ArrayCacheDriver::class);
    }
173733
public function boot()
    {
        $this->initMigrations();
        $this->initPermissions();
        $this->initMiddlewares();
        $this->initDirectives();
        $this->initUserObserver();
        $this->initCommands();
    }
1283270
public function boot()
    {
        if (file_exists($routes = api_path('routes.php'))) {
            $this->loadRoutesFrom($routes);
        }

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../../config' => config_path()
            ], 'laravel-api-config');
        }
    }
762571
public function boot()
    {
        //$this->setupConfiguration();

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

        //$this->setupTranslations();

        $this->setupViews();

        //$this->setupAssets();

        $this->setupMigrations();
        //$this->setupSeeds();
    }
919331
public function boot()
    {
        if(function_exists('config_path')) {
            /*
             * Publish configuration file
             */
            $this->publishes( [
                __DIR__ . '/../config/larabug.php' => config_path( 'larabug.php' ),
            ] );
        }

        $this->app['view']->addNamespace('larabug', __DIR__ . '/../resources/views');

        if(class_exists(\Illuminate\Foundation\AliasLoader::class)) {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias( 'LaraBug', 'LaraBug\Facade' );
        }
    }
1311161
public function boot()
    {
        if (! $this->app->routesAreCached()) {
            require __DIR__.'/Routes/routes.php';
        }

        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-modules-base');
        $this->publishes([
            __DIR__.'/../resources/lang' => base_path('resources/lang/vendor/laravel-modules-base'),
        ]);

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

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

        $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-modules-base');
        $this->publishes([
            __DIR__.'/../resources/views' => base_path('resources/views/vendor/laravel-modules-base'),
        ]);
    }
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');
        }
    }
651890
public function boot()
    {
        // Set config file
        $this->publishes([
            __DIR__.'/config/panel.php'      => config_path('panel.php'),
            __DIR__.'/config/panel/User.yml' => config_path('panel/User.yml'),
        ], 'config');

        // Set the stylesheets around
        $this->publishes([
            __DIR__.'/assets/css/panel.css'             => public_path('css/panel.css'),
            __DIR__.'/resources/assets/sass/panel.scss' => resource_path('assets/sass/panel.scss'),
        ], 'public');

        // Load routes
        if (!$this->app->routesAreCached()) {
            require __DIR__.'/http/routes.php';
        }

        // Load translation files
        $this->loadTranslationsFrom(__DIR__.'/resources/lang', 'panel');

        $this->publishes([
            __DIR__.'/resources/lang' => resource_path('lang/vendor/panel'),
        ], 'lang');

        // Load views
        $this->loadViewsFrom(__DIR__.'/views', 'panel');
    }
713999
public function boot()
    {
        $configPath = config_path('admin.php');

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

        $this->publishes([
            __DIR__.'/../../../public/' => public_path('packages/pingpong/admin/'),
        ], 'assets');

        $viewPath = base_path('resources/views/vendor/pingpong/admin/');

        $this->publishes([
            __DIR__.'/../../views/' => $viewPath,
        ], 'views');

        if (file_exists($configPath)) {
            $this->mergeConfigFrom($configPath, 'admin');
        }

        $this->loadViewsFrom([$viewPath, __DIR__.'/../../views'], 'admin');

        $langPath = base_path('resources/lang/en/admin.php');

        $this->publishes([
            __DIR__.'/../../lang/admin.php' => $langPath,
        ], 'lang');
    }
523931
public function boot()
    {
        if (is_dir(app_path().'/Modules/')) {
            $modules = config("modules.enable") ?: array_map('class_basename', $this->files->directories(app_path().'/Modules/'));
            foreach ($modules as $module) {
                // Allow routes to be cached
                if (!$this->app->routesAreCached()) {
                    $route_files = [
                        app_path() . '/Modules/' . $module . '/routes.php',
                        app_path() . '/Modules/' . $module . '/routes/web.php',
                        app_path() . '/Modules/' . $module . '/routes/api.php',
                    ];
                    foreach ($route_files as $route_file) {
                        if ($this->files->exists($route_file)) {
                            include $route_file;
                        }
                    }
                }
                $helper = app_path().'/Modules/'.$module.'/helper.php';
                $views  = app_path().'/Modules/'.$module.'/Views';
                $trans  = app_path().'/Modules/'.$module.'/Translations';

                if ($this->files->exists($helper)) {
                    include_once $helper;
                }
                if ($this->files->isDirectory($views)) {
                    $this->loadViewsFrom($views, $module);
                }
                if ($this->files->isDirectory($trans)) {
                    $this->loadTranslationsFrom($trans, $module);
                }
            }
        }
    }