Boot the application. Initialise all of the components.
977416
public function boot()
    {
        try {
            $this->initialiseConfiguration();
            $this->initialiseSession();
            $this->initialiseContainer();
            $this->initialiseModules();
        } catch (\Exception $e) {
            $this->setSafeMode(true);

            // Attempt to boot in safe mode to allow the application to properly
            // handle the exception - if possible.
            $this->boot();

            throw $e;
        }

        $this->booted = true;
    }
1060660
public function boot()
    {
        $source = realpath($raw = __DIR__.'/config/tinker.php') ?: $raw;

        if ($this->app instanceof Application && $this->app->runningInConsole()) {
            $this->publishes([$source => config_path('tinker.php')]);
        }

        $this->mergeConfigFrom($source, 'tinker');
    }
303991
public function boot()
    {
        $this->callBeforeListeners('boot', [$this]);
        $this->callAfterListeners('boot', [$this]);
        $this->wasBooted = true;
        static::$staticInstance = $this;
        static::$staticContainer = $this->container;
    }
478622
public function boot()
    {
        if (config('authentication.enableRoutes') and ! $this->app->routesAreCached()) {
            require __DIR__ . '/Http/routes.php';
        }

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'authentication');
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'authentication');

        $this->publishes([__DIR__ . '/../database/migrations' => database_path('migrations')], 'migrations');
    }
235159
protected function bootApplication(): void
    {
        $this->registerBaseServices();

        try {
            $memory = $this->bootInstalledApplication();
        } catch (Exception $e) {
            $memory = $this->bootNewApplication();
        }

        $this->services['memory'] = $memory;
        $this->app->instance('orchestra.platform.memory', $memory);

        $this->registerComponents($memory);

        $this->app->make('events')->dispatch('orchestra.started', [$memory]);
    }
223826
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../config/config.php' => config_path('wallet.php'),
            ], 'config');

            $this->publishes([
                __DIR__ . '/../resources/migrations/' => database_path('migrations'),
            ], 'migrations');
        }
    }
854918
protected function boot(): void
    {
        // boot extensions
        foreach ($this->extensionManager->getExtensions() as $extension) {
            if ($extension->isActivated()) {
                $extension->boot();
            }
        }

        // boot app
        $this->dispatch(new RoutesWillBeLoaded($this->router));
        $this->dispatch(new RoutesHaveBeenLoaded($this->router));

        // send back responses
        try {
            $response = $this->router->getResponse();
            $response->send();
        } catch (RouteNotFoundException $exception) {
            throw new HttpNotFoundException();
        } catch (ResourceNotFoundException $exception) {
            throw new HttpNotFoundException();
        } catch (MethodNotAllowedException $exception) {
            throw new HttpMethodNotAllowedException();
        }
    }
426095
public function boot()
    {
        $this->setupConfig();

        if ($this->app->runningInConsole()) {
            $this->commands([
                TransformerMakeCommand::class,
            ]);
        }

        $this->setupMacro();
    }
981201
public function boot()
    {
        foreach ($this->getFiles() as $filename) {
            $path = $this->path . '/' . $filename;
            
            if (file_exists($path)) {
                require $path;
            };
        }
    }
1067653
public function boot()
    {
        $events = app('events');

        foreach ($this->listen as $event => $listeners) {
            foreach ($listeners as $listener) {
                $events->listen($event, $listener);
            }
        }
    }
156935
public function boot() {

        $this->defineRoutes();

        //Publish
        $this->publishLanguages();
        $this->publishViews();
        $this->publishConfigAuth();
        $this->publishConfigusers();
        $this->publishFactories();

        $this->loadMigrations();
        $this->publishSeeds();

        $this->defineObservers();
        $this->configureBroadcastChannels();

    }
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();
    }
915842
public function boot()
    {
        // Vue components path
        Config::set('filesystems.disks.vue-components', [
            "driver" => "local",
            "root"   => resource_path('assets/js/components/'),
        ]);

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

        // Load views
        $this->loadViewsFrom(__DIR__ . '/views', 'laravel-vue-component-generator');

        $this->publishes([
            __DIR__ . '/views' => resource_path('views/vendor/laravel-vue-component-generator'),
        ]);

        // Register Commands
        if ($this->app->runningInConsole()) {
            $this->commands([
                GenerateVueComponent::class,
            ]);
        }
    }
1331970
public function boot()
    {
        $session = $this->app['session'];

        if (! $session->has('language')) {
            $cookie = $this->app['request']->cookie(PREFIX .'language', null);

            $locale = $cookie ?: $this->app['config']->get('app.locale');

            $session->set('language', $locale);
        } else {
            $locale = $session->get('language');
        }

        $this->app['language']->setLocale($locale);
    }
644181
public function boot()
    {
        if ($this->booted) {
            return;
        }

        $this->booted = true;

        foreach ($this->providers as $provider) {
            if ($provider instanceof EventListenerProviderInterface) {
                $provider->subscribe($this, $this['dispatcher']);
            }

            if ($provider instanceof BootableProviderInterface) {
                $provider->boot($this);
            }
        }
    }
1003169
public function boot()
    {
        $this->setupConfig();

        $writeKey = $this->app->config->get('segment.write_key');
        $enabled = $this->app->config->get('segment.enabled');

        if ($writeKey && $enabled) {
            Segment::init($writeKey);
        }
    }
331507
public function boot()
    {
        error_reporting(-1); // E_ALL
        set_exception_handler([$this, 'handleException']);
        set_error_handler([$this, 'handleError']);
        register_shutdown_function([$this, 'handleShutdown']);
        if (config('app.env') != 'testing') {
            ini_set('display_errors', 'Off');
        }
    }