protected function updateComposer(string $currName, string $newName)
    {
        $rootPath = Config::get('paths', 'root');
        $currComposerContents = $this->fileSystem->read("$rootPath/composer.json");
        // Change the PSR-4 namespace
        $updatedComposerContents = str_replace(
            "$currName\\\\",
            "$newName\\\\",
            $currComposerContents
        );
        $this->fileSystem->write("$rootPath/composer.json", $updatedComposerContents);
    }