Bootstrap the application events.

@return void
961134
public function boot()
	{
		$this->package('wells/l4-ldap-ntlm');

		//Add the LDAP/NTLM Auth driver
		$this->app['auth']->extend('ldap', function($app)
		{
			return new L4LdapNtlmGuard(
				new L4LdapNtlmUserProvider(
					$app['config']->get('auth.ldap')
				),
				$app->make('session.store')
			);
		});
	}
934314
public function boot()
    {
        $envFile;
        if(\file_exists(\base_path('.env')))
            $envFile = \base_path('.env');
        else
            $envFile = __DIR__.'/Publish/.env.pub.default';
		$this->publishes([
			__DIR__.'/Publish/publish.php'	=> \config_path('publish.php'),
	        $envFile => \base_path('.env.pub.default'),
	    ]);
    }
832596
public function boot()
    {
        $this->bootBlade();
        $this->bootDatatable();
        $this->bootModal();
        $this->bootMail();
        $this->bootValidator();
        $this->publish();
    }
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');
        }
    }
1137568
public function boot() {

		// Reference
		$self = $this;

		// Register Eloquent Hooks
		Event::listen('eloquent.created: *', function($obj) use ($self) { return $self->sync($obj); }, 10);
		Event::listen('eloquent.updated: *', function($obj) use ($self) { return $self->sync($obj); }, 10);
		Event::listen('eloquent.deleted: *', function($obj) use ($self) { return $self->delete($obj); }, 10);
	}
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
            ]);
        }
    }
498698
public function boot()
    {

        $this->registerViews();
        $this->registerMigrations();
        $this->registerSeeds();
        $this->registerAssets();
        $this->registerTranslations();
        $this->registerConfigurations();

        if(! $this->app->routesAreCached() && config('votee.routes')) {
            $this->registerRoutes();
        }
    }
1182173
public function boot()
    {
        app('view')->prependNamespace('admin', __DIR__ . '/../resources/views');

        // merge configs
        $this->mergeConfigFrom(
            __DIR__ . '/../config/backend.php', 'ibrand.backend'
        );

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../config/backend.php' => config_path('ibrand/backend.php'),
            ]);

            $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor')]);
        }

        //merge filesystem
        $this->setAdminDisk();

        $this->registerMigrations();

        $this->mapWebRoutes();
    }
1211387
public function boot()
    {
        $this->publishes([__DIR__ . '/../../database/migrations/' => database_path('migrations')], 'migrations');
        $this->publishes([__DIR__ . '/../../config/analytics.php' => config_path('analytics.php')], 'config');

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

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

        if (!$this->app->routesAreCached() && config('analytics.default_routes', true)) {
            require __DIR__ . '/../Http/routes.php';
        }
    }
808544
public function boot()
    {
        $this->loadViewsFrom(ASSELY_FRAMEWORK_DIR . 'resources/views', 'Assely');

        $this->registerGlobalWP();
        $this->registerGlobalWPQuery();
        $this->registerAssets();
        $this->registerJSVariables();
    }
1147141
public function boot()
    {
        $viewPath        = __DIR__ . '/../../resources/views';
        $translationPath = __DIR__ . '/../../resources/lang';
        $this->loadMigrationsFrom(__DIR__ . '/../../../database/migrations');
        $this->loadViewsFrom($viewPath, 'gzero-social');
        $this->loadTranslationsFrom($translationPath, 'gzero-social');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/routes.php');
        $this->addLinksToUserMenu();
        $this->publishes(
            [
                $viewPath => base_path('resources/views/vendor/gzero-social')
            ],
            'views'
        );
        $this->publishes(
            [
                $translationPath => base_path('resources/lang/vendor/gzero-social'),
            ],
            'lang'
        );
        $this->registerHelpers();
    }
762571
public function boot()
    {
        //$this->setupConfiguration();

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

        //$this->setupTranslations();

        $this->setupViews();

        //$this->setupAssets();

        $this->setupMigrations();
        //$this->setupSeeds();
    }
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();
    }
430983
public function boot()
    {
        $this->app['events']->listen($this->failedEvent, function ($event) {
            if (isset($event->user) && is_a($event->user, 'Illuminate\Database\Eloquent\Model')) {
                $event->user->notify(new FailedLoginNotification(
                    $this->app['request']->ip()
                ));
            }
        });

        $this->app['events']->listen($this->successEvent, function ($event) {
            if (isset($event->user) && is_a($event->user, 'Illuminate\Database\Eloquent\Model')) {
                $event->user->notify(new SuccessfulLoginNotification(
                    $this->app['request']->ip()
                ));
            }
        });
    }
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');
        }
    }
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');
    }
986801
public function boot(): void
	{
		$fileSystem = $this->container->get(FileSystem::class);

		// Register configuration namespace

		if($fileSystem->isDirectory($path = $this->getConfigPath()))
		{
			$configLoader = $this->container->get(Config::class)->getLoader();

			if(in_array(NamespacedFileLoaderTrait::class, class_uses($configLoader)))
			{
				$configLoader->registerNamespace($this->getFileNamespace(), $path);
			}
		}

		// Register i18n namespace

		if($fileSystem->isDirectory($path = $this->getI18nPath()) && $this->container->has(I18n::class))
		{
			$i18nLoader = $this->container->get(I18n::class)->getLoader();

			if(in_array(NamespacedFileLoaderTrait::class, class_uses($i18nLoader)))
			{
				$i18nLoader->registerNamespace($this->getFileNamespace(), $path);
			}
		}

		// Register view namespace

		if($fileSystem->isDirectory($path = $this->getViewPath()) && $this->container->has(ViewFactory::class))
		{
			$this->container->get(ViewFactory::class)->registerNamespace($this->getFileNamespace(), $path);
		}

		// Bootstrap package

		$this->bootstrap();
	}