public function bundlePackagistUrl(Bundle $bundle) { return $bundle->getComposerName() ? sprintf('http://packagist.org/packages/%s', $bundle->getComposerName()) : null; }