Bootstrap the application events.

@return void
359762
public function boot()
    {
        // Load configs files and publish them
        $path = __DIR__ . '/../../config';
        $this->loadYamlFrom($path, $this->namespace, $this->publish);

        // Load more configs and aliases
        parent::boot();
    }
286864
public function boot() {
        $this->publishes([
            __DIR__ . '/Config/crudgenerator.php' => config_path('sirgrimorum/crudgenerator.php'),
            __DIR__ . '/Config/mimebyext.php' => config_path('sirgrimorum/mimebyext.php'),
            __DIR__ . '/Config/models' => config_path('sirgrimorum/models'),
                ], 'config');

        $this->loadTranslationsFrom(__DIR__ . 'Lang', 'crudgenerator');
        $this->loadRoutesFrom(__DIR__ . '/Routes/web.php');
        $this->loadViewsFrom(__DIR__ . '/Views', 'sirgrimorum');
        $this->publishes([
            __DIR__ . '/Views/admin' => resource_path('views/vendor/sirgrimorum/admin'),
                ], 'views');
        $this->publishes([
            __DIR__ . '/Views/templates' => resource_path('views/vendor/sirgrimorum/templates'),
                ], 'templateviews');
        $this->publishes([
            __DIR__ . '/Views/crudgen/create.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/create.blade.php'),
            __DIR__ . '/Views/crudgen/edit.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/edit.blade.php'),
            __DIR__ . '/Views/crudgen/error.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/error.blade.php'),
            __DIR__ . '/Views/crudgen/includes.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/includes.blade.php'),
            __DIR__ . '/Views/crudgen/list.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/list.blade.php'),
            __DIR__ . '/Views/crudgen/show.blade.php' => resource_path('views/vendor/sirgrimorum/crudgen/show.blade.php'),
                ], 'crudviews');
        $this->publishes([
            __DIR__ . '/Views/templates' => resource_path('views/vendor/sirgrimorum/templates'),
                ], 'templates');

        $this->publishes([
            __DIR__ . '/Lang' => resource_path('lang/vendor/crudgenerator'),
                ], 'lang');
        $this->publishes([
            __DIR__ . '/Langapp' => resource_path('lang'),
                ], 'langapp');

        /**
         * Assets
         */
        $this->publishes([
            __DIR__ . '/Assets/images' => public_path('vendor/sirgrimorum/images'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/ckeditor' => public_path('vendor/sirgrimorum/ckeditor'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/jquerytables' => public_path('vendor/sirgrimorum/jquerytables'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/slider' => public_path('vendor/sirgrimorum/slider'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/confirm' => public_path('vendor/sirgrimorum/confirm'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/datetimepicker' => public_path('vendor/sirgrimorum/datetimepicker'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/select2' => public_path('vendor/sirgrimorum/select2'),
                ], 'assets');
        $this->publishes([
            __DIR__ . '/Assets/typeahead' => public_path('vendor/sirgrimorum/typeahead'),
                ], 'assets');

        /**
         * Extended validator
         */
        Validator::resolver(
                function($translator, $data, $rules, $messages, $customAttributes ) {
            return new ExtendedValidator($translator, $data, $rules, $messages, $customAttributes);
        }
        );
        
        /**
         * Blade directives
         */
        Blade::directive('handleCrudMessages', function($tipo) {
            $tipo = str_replace([' ', '"', "'"], '', $tipo);
            $html = "";
            switch($tipo){
                case 'error':
                    $html = "<?php if (session(config('sirgrimorum.crudgenerator.error_messages_key'))) : ?>".
                        '<div class="container">'.
                        '    <div class="alert alert-danger alert-dismissible fade show" role="alert">'.
                        '        <button type="button" class="close" data-dismiss="alert" aria-label="{{trans("crudgenerator::admin.layout.labels.close")}}"><span aria-hidden="true">&times;</span></button>'.
                        '        {!! session(config("sirgrimorum.crudgenerator.error_messages_key")) !!}'.
                        '    </div>'.
                        '</div>'.
                        "<?php endif; ?>";
                    break;
                case 'status':
                    $html = "<?php if (session(config('sirgrimorum.crudgenerator.status_messages_key'))) : ?>".
                        '<div class="container">'.
                        '    <div class="alert alert-success alert-dismissible fade show" role="alert">'.
                        '        <button type="button" class="close" data-dismiss="alert" aria-label="{{trans("crudgenerator::admin.layout.labels.close")}}"><span aria-hidden="true">&times;</span></button>'.
                        '        {!! session(config("sirgrimorum.crudgenerator.status_messages_key")) !!}'.
                        '    </div>'.
                        '</div>'.
                        "<?php endif; ?>";
                    break;
            }
            //echo $html;
            return $html;
        });
        /**
         * Console commands
         */
        Artisan::command('crudgen:sendalert ', function () {
            $alertaClass = $this->ask("Notification Class?");
            if (class_exists($alertaClass)) {
                $email = $this->anticipate("User email?", ['andres.espinosa@grimorum.com']);
                if ($toUser = \App\User::where("email", "=", $email)->first()) {
                    $message = $this->ask("Message?");
                    /* $options = array(
                      'cluster' => 'us2',
                      'encrypted' => true
                      );
                      $pusher = new Pusher(
                      'adf503a8756876656ec6', 'b21a0ee639fbb893e41d', '481076', $options
                      );
                     */
                    $data = [];
                    $data['message'] = $message;
                    /* $result = $pusher->trigger('my-channel', 'my-event', $data, null, true);
                      $this->line(print_r($result, true)); */
                    $tiempo = $this->ask("Send in? (Just a number,next you will select seconds, minutes, etc.)");
                    if (!is_int((int) $tiempo)) {
                        $tiempo = $this->ask("Send in? HAS TO BE AN INTEGER NUMBER");
                    }
                    if (is_int((int) $tiempo)) {
                        $unidad = $this->choice('...', ['seconds', 'minutes', 'hours', 'days'], 0);
                        switch ($unidad) {
                            case 'seconds':
                                $when = now()->addSeconds($tiempo);
                                break;
                            case 'minutes':
                                $when = now()->addMinutes($tiempo);
                                break;
                            case 'hours':
                                $when = now()->addHours($tiempo);
                                break;
                            case 'days':
                                $when = now()->addDays($tiempo);
                                break;
                            default:
                                $when = now()->addMinutes($tiempo);
                                break;
                        }
                        $toUser->notify((new $alertaClass($data))
                                        ->delay($when)
                        );
                        $this->info("Listo!");
                    } else {
                        $this->error("Paila!");
                    }
                } else {
                    $this->error("User not found");
                }
            } else {
                $this->error("Class not found");
            }
        })->describe('Broadcast an alert to a user');

        Artisan::command('crudgen:createmodel {table : The Table name} {--path= : Provide a custom paht for saving the model file relative to base_path()}', function ($table) {
            $this->line("Preparing model attributes");
            $bar = $this->output->createProgressBar(4);
            $options = $this->options('path');
            //$modelName = $singular = substr($table, 0, strlen($table) - 1);
            $modelName = $singular = str_singular($table);
            if ($options['path'] != "") {
                $path = $options['path'];
            } else {
                $path = "app/" . ucfirst($modelName);
            }
            $path = str_replace("//", "/", str_replace(["\\", " "], ["/", ""], $path));
            $AuxclassName = explode("/", str_replace(".php", "", $path));
            $className = "";
            $justPath = "";
            $prefijoPath = "/";
            $prefijo = "";
            $fileName = "";
            $nameSpace = "";
            foreach ($AuxclassName as $indice => $pedazo) {
                if ($indice == count($AuxclassName) - 1) {
                    $nameSpace = $className;
                    $fileName = str_finish(ucfirst($pedazo), ".php");
                    $modelName = strtolower($pedazo);
                } else {
                    $justPath .=$prefijoPath . $pedazo;
                    $prefijoPath = "/";
                }
                $className .= $prefijo . ucfirst($pedazo);
                $prefijo = "\\";
            }
            $path = str_finish($path, ".php");
            $bar->advance();
            $this->line("Loading details from {$table} table");
            $config = CrudGenerator::getModelDetailsFromDb($table);
            $config["modelo"] = $config["model"] = $modelName;
            $config["nameSpace"] = $nameSpace;
            $bar->advance();
            $this->info("Details loaded!");
            //$this->line(print_r($config, true));
            $bar->advance();
            $confirm = $this->choice("Do you wisth to continue and save the model to '{$path}' with the className '{$className}'?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $this->line("Saving Model for {$modelName} in {$path} with className '{$className}'");
                if (CrudGenerator::saveResource("sirgrimorum::templates.model", false, base_path($justPath), $fileName, $config)) {
                    $this->info("Model file saved!");
                    $bar->finish();
                } else {
                    $this->error("Something went wrong and the model file could not be saved");
                    $bar->finish();
                }
            } else {
                $bar->finish();
            }
        })->describe('Create a Model file based on a database table');

        Artisan::command('crudgen:createlang {model : The The NAME of the model} {--path= : Provide a custom paht for saving the model langs relatice to resource_path(), default is in vendor/crudgenerator (trans(crudgenerator::model))}', function ($model) {
            $this->line("Preparing model attributes");
            $bar = $this->output->createProgressBar(5);
            $options = $this->options('path');
            if ($options['path'] != "") {
                $path = $options['path'];
            } else {
                $path = "lang/vendor/crudgenerator/" . config("app.locale");
            }
            $path = str_replace("//", "/", str_replace(["\\", " "], ["/", ""], $path));
            $filename = str_finish(strtolower($model), ".php");
            $bar->advance();
            $this->line("Loading config array for {$model}");
            $config = CrudGenerator::getConfig($model, false);
            $bar->advance();
            $this->info("Config loaded!");
            //$this->line(print_r($config, true));
            $bar->advance();
            $this->line("Saving Lang file for {$model} in {$path} with filename '{$filename}'");
            if (CrudGenerator::saveResource("sirgrimorum::templates.lang", false, resource_path($path), $filename, $config)) {
                $this->info("Model Lang file saved!");
            } else {
                $this->error("Something went wrong and the model lang file could not be saved");
            }
            $bar->advance();
            $confirm = $this->choice("Do you wisth to create a Lang File for the model in es?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $path = "lang/vendor/crudgenerator/es";
                $filename = str_finish(strtolower($model), ".php");
                $this->line("Saving Lang file for {$model} in {$path} with filename '{$filename}'");
                if (CrudGenerator::saveResource("sirgrimorum::templates.langes", false, resource_path($path), $filename, $config)) {
                    $this->info("Model Lang file saved!");
                    $bar->finish();
                } else {
                    $this->error("Something went wrong and the model lang file could not be saved");
                    $bar->finish();
                }
            }
            $bar->finish();
        })->describe('Create a Model Lang file from config array');

        Artisan::command('crudgen:createconfig {model : The NAME of the model}{--merge : Try to merge with existing config file if it exist}{--path= : Provide a custom paht for saving the config file}', function ($model) {
            $this->line("Generating Config for {$model}");
            $bar = $this->output->createProgressBar(4);
            $options = $this->options('merge');
            if ($options['merge']) {
                $this->line("mergin");
                $config = CrudGenerator::getConfig($model, true, '', '', false);
            } else {
                $this->line("not mergin");
                $config = CrudGenerator::getConfig($model, false, '', '', false, true, true);
            }

            $bar->advance();
            $options = $this->options('path');
            if ($options['path'] != "") {
                $path = $options['path'];
            } else {
                $path = "sirgrimorum.models." . strtolower($model);
            }
            $this->info("Config generated!");
            //$this->line(print_r($config, true));
            $bar->advance();
            $confirm = $this->choice("Do you wisth to continue and save config to '{$path}'?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $this->line("Saving Config for {$model} in {$path}");
                if (CrudGenerator::saveConfig($config, $path)) {
                    $this->info("Config file saved!");
                    $bar->advance();
                    $confirm = $this->choice("Do you wisth to register the new config to the crudgenerator configuration file?", ['yes', 'no'], 0);
                    if ($confirm == 'yes') {
                        $this->line("Registering Config for {$model} in crudgenerator configuration file");
                        if (CrudGenerator::registerConfig($config, $path)) {
                            $this->info("Config registered!");
                            $bar->finish();
                        } else {
                            $this->error("Something went wrong and config could not be registered");
                            $bar->finish();
                        }
                    } else {
                        $bar->finish();
                    }
                } else {
                    $this->error("Something went wrong and the config file could not be saved");
                    $bar->finish();
                }
            } else {
                $bar->finish();
            }
        })->describe('Create a config file for a model');

        Artisan::command('crudgen:registermiddleware', function() {
            if (CrudGenerator::registerMiddleware()) {
                $this->info("CrudGenerator middleware registered");
            } else {
                $this->error("Something went wrong registering CrudGenerator middleware, please register ir in app/Http/Kernel.php");
            }
        })->describe('Register the CrudGenerator middleware in app/Http/Kernel.php');

        Artisan::command('crudgen:resources {model : The NAME of the model}', function ($model) {
            $bar = $this->output->createProgressBar(12);
            $confirm = $this->choice("Do you wisth to generate the files with Localized Routes?", ['yes', 'no'], 0);
            if ($confirm == "yes") {
                $localized = true;
            } else {
                $localized = false;
            }
            $config = CrudGenerator::getConfig($model, false);
            $confirm = $this->choice("Do you wisth to generate Controller, Request, Policy and Repository files?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $results = CrudGenerator::generateResources($config, $localized, $bar, "controller");
                if ($results[0]) {
                    $this->info("Controller file created");
                } else {
                    $this->error("Something went wrong saving Controller file");
                }
                if ($results[1]) {
                    $this->info("Request file created");
                } else {
                    $this->error("Something went wrong saving Request file");
                }
                if ($results[2]) {
                    $this->info("Policy file created");
                } else {
                    $this->error("Something went wrong saving Policy file");
                }
                if ($results[3]) {
                    $this->info("Repository file created");
                } else {
                    $this->error("Something went wrong saving Repository file");
                }
            }
            $confirm = $this->choice("Do you wisth to generate Create, Edit, Index and Show views?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $results = CrudGenerator::generateResources($config, $localized, $bar, "views");
                if ($results[0]) {
                    $this->info("Create view file created");
                } else {
                    $this->error("Something went wrong saving Create view file");
                }
                if ($results[1]) {
                    $this->info("Edit view file created");
                } else {
                    $this->error("Something went wrong saving Edit view file");
                }
                if ($results[2]) {
                    $this->info("Index view file created");
                } else {
                    $this->error("Something went wrong saving Index view file");
                }
                if ($results[3]) {
                    $this->info("Show view file created");
                } else {
                    $this->error("Something went wrong saving Show view file");
                }
            }
            $confirm = $this->choice("Do you wisth to append new routes for the model (web routes)?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                if (CrudGenerator::registerRoutes($config, $localized)) {
                    $this->info("Routes registered");
                } else {
                    $this->error("Something went wrong registering routes");
                }
            }
            CrudGenerator::registerTransRoutes($config);
            $confirm = $this->choice("Do you wisth to register the model policy?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                if (CrudGenerator::registerPolicy($config)) {
                    $this->info("Policy registered");
                } else {
                    $this->error("Something went wrong registering the policy");
                }
            }
            $bar->advance();
            $confirm = $this->choice("Do you wisth to create a Lang File for the model?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $path = "lang/vendor/crudgenerator/" . config("app.locale");
                $filename = str_finish(strtolower($model), ".php");
                $this->line("Saving Lang file for {$model} in {$path} with filename '{$filename}'");
                if (CrudGenerator::saveResource("sirgrimorum::templates.lang", $localized, resource_path($path), $filename, $config)) {
                    $this->info("Model Lang file saved!");
                } else {
                    $this->error("Something went wrong and the model lang file could not be saved");
                }
            }
            $bar->advance();
            $confirm = $this->choice("Do you wisth to create a Lang File for the model in es?", ['yes', 'no'], 0);
            if ($confirm == 'yes') {
                $path = "lang/vendor/crudgenerator/es";
                $filename = str_finish(strtolower($model), ".php");
                $this->line("Saving Lang file for {$model} in {$path} with filename '{$filename}'");
                if (CrudGenerator::saveResource("sirgrimorum::templates.langes", $localized, resource_path($path), $filename, $config)) {
                    $this->info("Model Lang file saved!");
                    $bar->finish();
                } else {
                    $this->error("Something went wrong and the model lang file could not be saved");
                    $bar->finish();
                }
            }
            $bar->finish();
        })->describe('Create a config file for a model');
    }
996536
public function boot()
    {
        $this->publishes([
            __DIR__.'/../../config/admin-lte.php' => config_path('admin-lte.php'),
        ], 'config');
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'admin-lte');
        $this->publishes([
            __DIR__.'/../../resources/views' => resource_path('views/vendor/admin-lte')
        ], 'views');
        if ($this->app->runningInConsole()) {
            $this->commands([
                AdminLTEMakeCommand::class,
            ]);
        }
    }
687756
public function boot()
    {

        $this->loadViewsFrom(__DIR__.'/../../views', 'expendable');
        $this->loadTranslationsFrom(__DIR__.'/../../lang', 'expendable');
        $this->loadMigrationsFrom(__DIR__.'/../../database/migrations/');


        $this->publishes([
            __DIR__.'/../../config/config.php'    => config_path('expendable.php'),
            __DIR__.'/../../database/seeds/'      => base_path('/database/seeds'),
        ]);


        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/vendor/expendable'),
        ], 'views');
        $this->mergeConfigFrom(
            __DIR__.'/../../config/config.php', 'expendable'
        );

        $autoLoaderListener = new \Distilleries\Expendable\Register\ListenerAutoLoader(config('expendable.listener'));
        $autoLoaderListener->load();

    }
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');
    }
1185646
public function boot()
    {
        $this->client = new Client(
            $this->config('user_id'),
            $this->config('license_key'),
            $this->config('locales', ['en'])
        );
    }
688339
public function boot()
    {
        $this->registerTranslations();
        $this->registerConfig();
        $this->registerViews();
        $this->registerFactories();
        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
    }
679014
public function boot()
    {
        $this->loadRoutesFrom(__DIR__ . '/Routes/routes.php');
        $this->publishes([
            __DIR__ . '/Config/portmanat.php' => config_path('portmanat.php'),
        ]);
        $this->publishes([
            __DIR__ . '/Controller/PortmanatController.php' => app_path('Http/Controllers/PortmanatController.php'),
        ]);
    }
157021
public function boot(): void
    {
        $this->registerConsoleCommands();
        $this->registerPublishes();
        $this->registerRoutes();
        $this->registerViews();
        $this->registerTranslations();
        $this->registerObservers();
        $this->registerViewComposers();
    }
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();
    }
675250
public function boot()
    {
        $this->defineRoutes();
        $this->loadMigrations();
        $this->loadViews();
        $this->publishFactories();
        $this->publishConfigs();
        $this->publishTests();
        $this->publishViews();
    }
302463
public function boot()
    {
        $this->loadRoutesFrom(Core::modPath('routes.php'));
        $this->loadMigrationsFrom(Core::modPath('database/migrations'));
        $this->loadViewsFrom(Core::modPath('resources/views'), 'acl');

        // php artisan vendor:publish --tag=acl-config
        $this->publishes([Core::modPath('/config/acl.php') => config_path('acl.php')], 'acl-config');

        // php artisan vendor:publish --tag=acl-buttons
        $this->publishes([Core::modPath('resources/views/buttons') => resource_path('views/acl/buttons')], 'acl-buttons');

        // php artisan vendor:publish --tag=acl-migrations
        $this->publishes([Core::modPath('database/publish') => database_path('migrations')], 'acl-migrations');

        // php artisan vendor:publish --tag=acl-cruds
        $this->publishes([Core::modPath('resources/views/users') => resource_path('views/acl/cruds/users')], 'acl-cruds');
        $this->publishes([Core::modPath('resources/views/users-permissions') => resource_path('views/acl/cruds/users-permissions')], 'acl-cruds');
        $this->publishes([Core::modPath('resources/views/groups') => resource_path('views/acl/cruds/groups')], 'acl-cruds');
        $this->publishes([Core::modPath('resources/views/groups-permissions') => resource_path('views/acl/cruds/groups-permissions')], 'acl-cruds');
        $this->publishes([Core::modPath('resources/views/messages') => resource_path('views/acl/cruds/messages')], 'acl-cruds');
        $this->publishes([Core::modPath('resources/views/document.blade.php') => resource_path('views/acl/cruds/document.blade.php')], 'acl-cruds');

        if ($this->app->runningInConsole()) {
            $this->commands([
                \Acl\Console\Commands\UserCreate::class,
                \Acl\Console\Commands\UserOn::class,
                \Acl\Console\Commands\UserOff::class,
                \Acl\Console\Commands\UserPassword::class,
                \Acl\Console\Commands\UserPanelOn::class,
                \Acl\Console\Commands\UserPanelOff::class,
            ]);
        }

        \Acl\Core::registerPolicies();

        \Acl\Core::loadBladeDirectives();
    }
77404
public function boot()
    {       
		// publish views
        $this->publishes([__DIR__.'/resources/views' => resource_path('views/backend/geomanager')], 'views');
        // publish GeoTemplates trait
        $this->publishes([__DIR__.'/app/GeoTemplates.php' => app_path('PageTemplates.php')], 'trait');
        // publish migrations
        $this->publishes([__DIR__.'/database/migrations' => database_path('migrations')], 'migrations');
		// publish template crud
        $this->publishes([__DIR__.'/resources/views/crud/fields' => resource_path('views/backend/crud/fields')], 'crud-template');
		// publish langs
        $this->publishes([__DIR__.'/resources/views/lang' => resource_path('views/lang')], 'langs');
    }
1336873
public function boot()
    {
        $this->publishes([
            __DIR__.'/Models' => app_path('Models'),

            __DIR__.'/Models/Concrete/_AbstractEloquentRepository.php' => file_exists(app_path('Models/Concrete/AbstractEloquentRepository.php')) ? app_path('Models/Concrete/_AbstractEloquentRepository.php') : app_path('Models/Concrete/AbstractEloquentRepository.php'),

            __DIR__.'/Models/Contracts/_RepositoryInterface.php' => file_exists(app_path('Models/Contracts/RepositoryInterface.php')) ? app_path('Models/Contracts/_RepositoryInterface.php') : app_path('Models/Contracts/RepositoryInterface.php')
        ]);
    }
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');
        }
    }
882116
public function boot()
    {
        $this->app['modules.loader']->bootModules($this->app);

        $this->app['modules.filesystem']->getFoundFilesFromCache();

        $this->app['events']->listen('app.shutdown', function () {
            $this->app['modules.filesystem']->cacheFoundFiles();
        });
    }
1283270
public function boot()
    {
        if (file_exists($routes = api_path('routes.php'))) {
            $this->loadRoutesFrom($routes);
        }

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../../config' => config_path()
            ], 'laravel-api-config');
        }
    }