Bootstrap the application services.
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');
        }
    }
705350
public function boot()
    {
        $path = __DIR__ . '/../resources/views';

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

        $this->publishes([
            $path => base_path('resources/views/vendor/flash'),
        ], 'flash');
    }
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');
        }
    }
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');
        }
    }
143599
public function boot()
    {
        $this->loadMigrationsFrom($this->getDirectory().'/../../database/migrations');
        $this->loadRoutes();
        $this->loadTranslations();
        $this->loadAssets();
    }
1336770
public function boot()
    {
        $this->loadMigrationsFrom(__DIR__ . '/../../migrations');
        $this->publishes([
            __DIR__ . '/../../config/config.php' => config_path('image.php'),

            // master files
            __DIR__ . '/../../master/Image.php.dist' => app_path('Models/Image/Image.php'),

        ]);
    }
266106
public function boot()
    {
        $root = '/../..';

        $path_to_views = $root . '/resources/views/settings';

        $this->loadRoutesFrom(__DIR__ . $root . '/routes/web.php');
        $this->loadViewsFrom(__DIR__ . $path_to_views, 'settings');
        $this->loadMigrationsFrom(__DIR__ . $root . '/database/migrations');

        $this->publishes([
            __DIR__ . $path_to_views => resource_path('views/vendor/settings'),
            __DIR__ . $root . '/config/settings.php' => config_path('settings.php'),
        ]);
    }
206046
public function boot(){

		// Publish Config File
		$this->publishes([
			__DIR__ .DIRECTORY_SEPARATOR. '..' .DIRECTORY_SEPARATOR. 'config' .DIRECTORY_SEPARATOR. $this->package_name . '.php' => config_path($this->package_name . '.php'),
		], 'config');

		// Publish fonts
		$this->publishes([
			__DIR__ .DIRECTORY_SEPARATOR. '..' .DIRECTORY_SEPARATOR. 'resources' .DIRECTORY_SEPARATOR. 'fonts' => resource_path('assets' .DIRECTORY_SEPARATOR. 'vendor' .DIRECTORY_SEPARATOR. $this->package_name .DIRECTORY_SEPARATOR. 'fonts'),
		], 'fonts');
	}
388463
public function boot()
    {
        // Load view
        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'team');

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

        // Load migrations
        $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations');

        // Call pblish redources function
        $this->publishResources();

    }
39213
public function boot()
    {
        $views = __DIR__.'/views';
        $this->loadViewsFrom($views, 'resource-table');

        $this->publishes([
            $views => base_path('resources/views/vendor/msieprawski/resource-table'),
        ]);

        $this->loadTranslationsFrom(__DIR__.'/lang', 'resource-table');
    }
727343
public function boot()
    {
        $this->registerMorphs();
        $this->setTablePrefix();
        $this->setUserModel();

        $this->registerAtGate();

        if ($this->runningInConsole()) {
            $this->publishMiddleware();
            $this->publishMigrations();
        }
    }
1267490
public function boot()
    {
        $this->loadMigrationsFrom(__DIR__ . '/../../../migrations');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/api.php');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/web.php');
        $this->loadViewsFrom(__DIR__ . '/../../../views', 'combine');
        $this->publishes([__DIR__ . '/../../../config/combine-core.php' => config_path('combine-core.php')]);
        $this->publishes([__DIR__ . '/../../../views' => resource_path('views/vendor/combine')]);
        $this->registerPolicies();
    }
675250
public function boot()
    {
        $this->defineRoutes();
        $this->loadMigrations();
        $this->loadViews();
        $this->publishFactories();
        $this->publishConfigs();
        $this->publishTests();
        $this->publishViews();
    }
1084245
public function boot()
    {
        $this->publishes([
            realpath(__DIR__.'/../config/follow.php') => config_path('follow.php'),
        ], 'config');

        $this->publishes([
            realpath(__DIR__.'/../database/migrations') => database_path('migrations'),
        ], 'migrations');
    }
471408
public function boot()
    {
        if (method_exists($this, 'publishes')) {
            $this->loadViewsFrom(__DIR__.'/../../views', 'stream-laravel');

            $this->publishes([
                __DIR__.'/../../config/config.php' => app()->configure('stream-laravel.php'),
                __DIR__.'/../../views' => base_path('resources/views/vendor/stream-laravel'),
            ]);
        } else {
            $this->package('get-stream/stream-laravel');
        }
    }
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();
	}
691756
public function boot()
    {
        // Configs
        $this->publishes([
            __DIR__.'/../config/mentions.php' => config_path('mentions.php')
        ], 'config');

        // Migrations
        $this->publishes([
            __DIR__.'/../database/migrations/create_mentions_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_mentions_table.php')
        ], 'migrations');

        // Assets
        $this->publishes([
            __DIR__.'/../resources/assets/js' => resource_path('assets/js'),
            __DIR__.'/../resources/assets/sass' => resource_path('assets/sass')
        ], 'assets');

        // Routes
        $this->loadRoutesFrom(__DIR__.'/routes.php');
    }