private function setComposerNamespace($oldNamespace, $newNamespace)
    {
        $files = $this->filesystem->files(base_path() . '/vendor/composer');

        foreach ($files as $file) {
            $content = $this->filesystem->get($file);
            $this->filesystem->create($file, preg_replace("/\\b" . $oldNamespace . "\\b/", $newNamespace, $content));
        }

        $file = base_path() . '/composer.json';
        $content = $this->filesystem->get($file);
        $this->filesystem->create($file, preg_replace("/\\b" . $oldNamespace . "\\b/", $newNamespace, $content));
    }