src/Console/Install.php
public function handle()
    {
        $paths = ServiceProvider::pathsToPublish(
            'Yurtesen\Geonames\GeonamesServiceProvider'
        );

        foreach ($paths as $from => $to) {
            if ($this->files->isFile($from)) {
                $this->publishFile($from, $to);
            } elseif ($this->files->isDirectory($from)) {
                $this->publishDirectory($from, $to);
            }
        }

        $this->info("Installation complete!");
    }
public function handle()
    {
        $paths = ServiceProvider::pathsToPublish(
            'Yurtesen\Geonames\GeonamesServiceProvider'
        );

        foreach ($paths as $from => $to) {
            if ($this->files->isFile($from)) {
                $this->publishFile($from, $to);
            } elseif ($this->files->isDirectory($from)) {
                $this->publishDirectory($from, $to);
            }
        }

        $this->info("Installation complete!");
    }
Execute the console command.

@return mixed