Bootstrap the application services.

@return void
322847
public function boot()
    {
        $this->publishes([$this->getConfigPath() => config_path('mail-auto-embed.php')], 'config');

        Mail::getSwiftMailer()->registerPlugin(new SwiftEmbedImages($this->app['config']->get('mail-auto-embed')));
    }
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');
    }
1054090
public function boot()
    {
        // Public config
        $this->publishes([
            __DIR__.'/config/commands.php' => config_path('commands.php'),
        ], 'config');


        if ($this->app->runningInConsole()) {
            $this->commands([
                CreateUserCommand::class,
                CreateRoleCommand::class
            ]);
        }
    }
757023
public function boot()
    {
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'laraplans');

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

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

        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/laraplans'),
        ]);
    }
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);
        }
    }
1239284
public function boot()
    {
        $this->loadViewsFrom(realpath(__DIR__.'/../resources/views/'.config('mural.skin')), 'mural');

        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'mural');

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

        $this->publishes([
            __DIR__.'/../config/mural.php'                                                => config_path('mural.php'),
            __DIR__.'/../database/migrations/2015_08_17_101000_create_comments_table.php' => database_path('migrations/2015_08_17_101000_create_comments_table.php'),
            __DIR__.'/../resources/lang/id'                                               => base_path('resources/lang/id'),
        ]);

        $this->mergeConfigFrom(
            __DIR__.'/../config/mural.php', 'mural'
        );
    }
640161
public function boot()
    {
        // Bootstrap handles
        $this->routeHandle();
        $this->configHandle();
        $this->langHandle();
        $this->viewHandle();
        $this->assetHandle();
        $this->migrationHandle();
        $this->cssHandle();
        $this->jsHandle();
    }
899047
public function boot()
    {
        if (config('adminlte.install_routes', true)) {
            $this->defineRoutes();
        }

        //Publish
        $this->publishHomeController();
        $this->changeRegisterController();
        $this->changeLoginController();
        $this->changeForgotPasswordController();
        $this->publishNoGuestForgotPasswordController();
        $this->changeResetPasswordController();
        $this->publishPublicAssets();
        $this->publishViews();
        $this->publishResourceAssets();
        $this->publishTests();
        $this->publishLanguages();
        $this->publishGravatar();
        $this->publishConfig();
        $this->publishWebRoutes();
        $this->publishApiRoutes();
        $this->publishDusk();
        $this->publishDatabaseConfig();

        $this->enableSpatieMenu();
    }
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')
        ]);
    }
675250
public function boot()
    {
        $this->defineRoutes();
        $this->loadMigrations();
        $this->loadViews();
        $this->publishFactories();
        $this->publishConfigs();
        $this->publishTests();
        $this->publishViews();
    }
762571
public function boot()
    {
        //$this->setupConfiguration();

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

        //$this->setupTranslations();

        $this->setupViews();

        //$this->setupAssets();

        $this->setupMigrations();
        //$this->setupSeeds();
    }
1114554
public function boot()
    {
        $this->loadTranslationsFrom(__DIR__ . '/../../translations', 'verification');
        $this->loadViewsFrom(__DIR__ . '/../../views', 'verification');

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

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

        $this->publishes([
            __DIR__ . '/../../views' => resource_path('views/vendor/verification'),
        ], 'views');
    }
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();
    }
818906
public function boot()
    {
        $this->loadTranslationsFrom(module_path('DummySlug', 'ResourcesLangMapping', 'DummyLocation'), 'DummySlug');
        $this->loadViewsFrom(module_path('DummySlug', 'ResourcesViewsMapping', 'DummyLocation'), 'DummySlug');
        $this->loadMigrationsFrom(module_path('DummySlug', 'DatabaseMigrationsMapping', 'DummyLocation'), 'DummySlug');
        $this->loadConfigsFrom(module_path('DummySlug', 'ConfigMapping', 'DummyLocation'));
        $this->loadFactoriesFrom(module_path('DummySlug', 'DatabaseFactoriesMapping', 'DummyLocation'));
    }
33647
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $config = $this->app->config['eloquent-viewable'];

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

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

                $this->publishes([
                    __DIR__.'/../migrations/create_views_table.php.stub' => database_path("/migrations/{$timestamp}_create_views_table.php"),
                ], 'migrations');
            }
        }
    }
407622
public function boot()
    {
        $this->commands([
            AdminUIInstall::class,
        ]);

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'brackets/admin-ui');
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'brackets/admin-ui');
        $this->loadRoutesFrom(__DIR__ . '/../routes/web.php');

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../install-stubs/resources/js/admin' => resource_path('js/admin'),
                __DIR__.'/../install-stubs/resources/sass/admin' => resource_path('sass/admin')
            ], 'assets');

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

            $this->publishes([
                __DIR__ . '/../install-stubs/config/wysiwyg-media.php' => config_path('wysiwyg-media.php'),
            ], 'config');

            if (!glob(base_path('database/migrations/*_create_wysiwyg_media_table.php'))) {
                $this->publishes([
                    __DIR__ . '/../install-stubs/database/migrations/create_wysiwyg_media_table.php' => database_path('migrations').'/2018_07_18_000000_create_wysiwyg_media_table.php',
                ], 'migrations');
            }
        }
    }
846148
public function boot()
    {
        View::share('users', User::all());
        View::share('comments', Comment::all());
        View::share('comment', Comment::first());
    }