public static function getRepositoryByUrl($url)
	{
		$remoteRepos = self::_getRemoteRepositories();
		foreach ($remoteRepos as $repo)
		{
			$config = $repo->getRepoConfig();
			if ($config['url'] == $url)
			{
				return $repo;
			}
		}
		return null;
	}
public static function getRepositoryByUrl($url)
	{
		$remoteRepos = self::_getRemoteRepositories();
		foreach ($remoteRepos as $repo)
		{
			$config = $repo->getRepoConfig();
			if ($config['url'] == $url)
			{
				return $repo;
			}
		}
		return null;
	}
public static function getRepositoryByUrl ( $ url ) { $ remoteRepos = self :: _getRemoteRepositories ( ) ; foreach ( $ remoteRepos as $ repo ) { $ config = $ repo -> getRepoConfig ( ) ; if ( $ config [ 'url' ] == $ url ) { return $ repo ; } } return null ; }
Get a single repository by URL

@param		string	$url	URL of the repository to find
@return	mixed		The Composer\Repository\PackageRepository with a URL matching the parameter, or null
Get a single repository by URL