public function getInstalledVersion() { return PackageManager::getPackageVersion($this->composerName) ?: $this->getComposerManifest('version'); }