src/CommonServiceProvider.php
public function loadConfigs()
    {
        $directory = $this->getDirectory().'/../../config/*';

        foreach (glob($directory) as $file) {
            $this->publishes([$file => config_path(basename($file))], 'config');
            $this->mergeConfigFrom($file, basename($file, '.php'));
        }
    }
public function loadConfigs()
    {
        $directory = $this->getDirectory().'/../../config/*';

        foreach (glob($directory) as $file) {
            $this->publishes([$file => config_path(basename($file))], 'config');
            $this->mergeConfigFrom($file, basename($file, '.php'));
        }
    }
public function loadConfigs ( ) { $ directory = $ this -> getDirectory ( ) . '/../../config/*' ; foreach ( glob ( $ directory ) as $ file ) { $ this -> publishes ( [ $ file => config_path ( basename ( $ file ) ) ] , 'config' ) ; $ this -> mergeConfigFrom ( $ file , basename ( $ file , '.php' ) ) ; } }
Load configs-.
Load configs - .