src/GeonamesServiceProvider.php
public function boot()
    {

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


        $this->publishes([
            __DIR__ . '/config/geonames.php' =>  base_path('config/geonames.php')
        ], 'config');
        
        $this->mergeConfigFrom(realpath(__DIR__ . '/config/geonames.php'), 'geonames');
    }
public function boot()
    {

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


        $this->publishes([
            __DIR__ . '/config/geonames.php' =>  base_path('config/geonames.php')
        ], 'config');
        
        $this->mergeConfigFrom(realpath(__DIR__ . '/config/geonames.php'), 'geonames');
    }
Bootstrap the application events.

@return void