src/SettingsServiceProvider.php
public function boot()
    {
        // only use the Settings package if the Settings table is present in the database
        if (count(DB::select("SHOW TABLES LIKE 'settings'")))
        {
            // get all settings from the database
            $settings = Setting::all();

            // bind all settings to the Laravel config, so you can call them like
            // Config::get('settings.contact_email')
            foreach ($settings as $key => $setting) {
                Config::set('settings.'.$setting->key, $setting->value);
            }
        }

        // publish the migrations and seeds
        $this->publishes([
            __DIR__.'/database/migrations/' => database_path('migrations')
        ], 'migrations');
        $this->publishes([
            __DIR__.'/database/seeds/' => database_path('seeds')
        ], 'seeds');
    }
public function boot()
    {
        // only use the Settings package if the Settings table is present in the database
        if (count(DB::select("SHOW TABLES LIKE 'settings'")))
        {
            // get all settings from the database
            $settings = Setting::all();

            // bind all settings to the Laravel config, so you can call them like
            // Config::get('settings.contact_email')
            foreach ($settings as $key => $setting) {
                Config::set('settings.'.$setting->key, $setting->value);
            }
        }

        // publish the migrations and seeds
        $this->publishes([
            __DIR__.'/database/migrations/' => database_path('migrations')
        ], 'migrations');
        $this->publishes([
            __DIR__.'/database/seeds/' => database_path('seeds')
        ], 'seeds');
    }
Perform post-registration booting of services.

@return void