Bootstrap the application services.
499126
public function boot()
    {
        $this->publishes([
            __DIR__.'/../database/migrations' => database_path('migrations'),
        ], 'migrations');

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

        $this->registerMacros();
    }
808544
public function boot()
    {
        $this->loadViewsFrom(ASSELY_FRAMEWORK_DIR . 'resources/views', 'Assely');

        $this->registerGlobalWP();
        $this->registerGlobalWPQuery();
        $this->registerAssets();
        $this->registerJSVariables();
    }
262316
public function boot()
	{
        $this->publishes([
            __DIR__.'/../config/config.php' => config_path('js-localization.php')
        ]);

        $this->publishes([
            __DIR__.'/../public/js/localization.min.js' => public_path('vendor/js-localization/js-localization.min.js'),
        ], 'public');
        
        $this->mergeConfigFrom(
            __DIR__.'/../config/config.php', 'js-localization'
        );
        
		$this->loadViewsFrom(__DIR__.'/../resources/views', 'js-localization');
        
        $this->registerRefreshCommand();
        $this->registerExportCommand();
	}
705350
public function boot()
    {
        $path = __DIR__ . '/../resources/views';

        $this->loadViewsFrom($path, 'flash');

        $this->publishes([
            $path => base_path('resources/views/vendor/flash'),
        ], 'flash');
    }
59734
public function boot()
    {
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'sneaker');

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

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

        if ($this->app->runningInConsole()) {
            $this->commands([
                \SquareBoat\Sneaker\Commands\Sneak::class,
            ]);
        }
    }
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');
    }
799917
public function boot()
    {
        // Assets
        $this->publishes([
            __DIR__.'/../public/jquery-file-upload' => public_path('vendor/flare/jquery-file-upload'),
            __DIR__.'/../public/js' => public_path('vendor/flare/js'),
        ], 'public');

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

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

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

        $this->registerBladeOperators();
    }
242884
public function boot()
    {
        $app = $this->app;

        // Listen to log messages.
        $app['log']->listen(function ($level, $message, $context) use ($app) {
            $app['rollbar.handler']->log($level, $message, $context);
        });
    }
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');
        }
    }
981201
public function boot()
    {
        foreach ($this->getFiles() as $filename) {
            $path = $this->path . '/' . $filename;
            
            if (file_exists($path)) {
                require $path;
            };
        }
    }
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();
            }
        }
    }
727343
public function boot()
    {
        $this->registerMorphs();
        $this->setTablePrefix();
        $this->setUserModel();

        $this->registerAtGate();

        if ($this->runningInConsole()) {
            $this->publishMiddleware();
            $this->publishMigrations();
        }
    }
1207532
public function boot()
    {
        if (config('getrets.enable_example')) {
            $this->loadRoutesFrom(realpath(__DIR__.'/../../routes/web.php'));
        }

        $this->loadTranslationsFrom(realpath(__DIR__.'/../../resources/lang'), 'GetRETS');
        $this->publishes([realpath(__DIR__.'/../../resources/lang') => resource_path('lang/vendor/timitek')], 'translations');

        $this->loadViewsFrom(realpath(__DIR__.'/../../resources/views'), 'GetRETS');
        $this->publishes([realpath(__DIR__.'/../../resources/views') => base_path('resources/views/vendor/timitek/getrets')], 'views');

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

        $this->publishes([realpath(__DIR__.'/../../resources/assets') => public_path('assets')], 'public');

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

        $this->publishes([realpath(__DIR__.'/../../database/seeds') => database_path('seeds')], 'seeds');
    }
882398
public function boot()
    {
        $this->app['events']->listen(LocaleUpdated::class, function ($locale) {
            $this->setLocale();
        });

        $this->setLocale();
    }
675250
public function boot()
    {
        $this->defineRoutes();
        $this->loadMigrations();
        $this->loadViews();
        $this->publishFactories();
        $this->publishConfigs();
        $this->publishTests();
        $this->publishViews();
    }
1355640
public function boot()
    {
        view()->composer([
            'webed-theme::front._partials.sidebar',
        ], SidebarViewComposer::class);

        view()->composer([
            'webed-theme::front._partials.header',
        ], HeaderViewComposer::class);

        view()->composer([
            'webed-theme::front._partials.footer',
        ], FooterViewComposer::class);

        view()->composer([
            'webed-theme::front.errors.401',
            'webed-theme::front.errors.403',
            'webed-theme::front.errors.404',
            'webed-theme::front.errors.405',
            'webed-theme::front.errors.500',
            'webed-theme::front.errors.503',
        ], HttpErrorsViewComposer::class);
    }
981003
public function boot()
    {
        $this->loadRoutesFrom(__DIR__.'/routes.php');
        $this->loadViewsFrom(__DIR__.'/../views', 'larrock');
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'larrock');
        $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

        $public_path = public_path();
        if (substr($public_path, -6) === 'public') {
            $public_path .= '_html';
        }

        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/larrock'),
        ], 'lang');
        $this->publishes([
            __DIR__.'/../views/front' => base_path('resources/views/vendor/larrock/front'),
        ], 'views-front-core');
        $this->publishes([
            __DIR__.'/../views/admin' => base_path('resources/views/vendor/larrock/admin'),
        ], 'views-admin-core');
        $this->publishes([
            __DIR__.'/../assets/public_html' => $public_path,
            __DIR__.'/../assets/gulpfile' => base_path(),
            __DIR__.'/../assets/bower' => base_path(),
        ], 'assets');
        $this->publishes([
            __DIR__.'/../assets/policy' => $public_path,
        ], 'doc');
        $this->publishes([
            __DIR__.'/../config/larrock-core-adminmenu.php' => config_path('larrock-core-adminmenu.php'),
            __DIR__.'/../config/larrock-sitemap.php' => config_path('larrock-sitemap.php'),
            __DIR__.'/../config/larrock-to-dashboard.php' => config_path('larrock-to-dashboard.php'),
            __DIR__.'/../config/larrock.php' => config_path('larrock.php'),
        ], 'config');

        \Event::subscribe('Larrock\Core\Listeners\CoreEventSubscriber');
    }