public static function getRemotePackages()
	{
		$remoteRepos = self::_getRemoteRepositories();
		$remotePackages = array();
		foreach ($remoteRepos as $repo)
		{
			if (method_exists($repo, "getRepoConfig"))
			{
				$config = $repo->getRepoConfig();
				if (is_array($config) && isset($config['type']) && $config['type'] != 'composer')
				{
					$packages = $repo->getPackages();
					foreach ($packages as $package)
					{
						$remotePackages[$package->getName()] = $package;
					}
				}
			}
		}
		return $remotePackages;
	}
public static function getRemotePackages()
	{
		$remoteRepos = self::_getRemoteRepositories();
		$remotePackages = array();
		foreach ($remoteRepos as $repo)
		{
			if (method_exists($repo, "getRepoConfig"))
			{
				$config = $repo->getRepoConfig();
				if (is_array($config) && isset($config['type']) && $config['type'] != 'composer')
				{
					$packages = $repo->getPackages();
					foreach ($packages as $package)
					{
						$remotePackages[$package->getName()] = $package;
					}
				}
			}
		}
		return $remotePackages;
	}
public static function getRemotePackages ( ) { $ remoteRepos = self :: _getRemoteRepositories ( ) ; $ remotePackages = array ( ) ; foreach ( $ remoteRepos as $ repo ) { if ( method_exists ( $ repo , "getRepoConfig" ) ) { $ config = $ repo -> getRepoConfig ( ) ; if ( is_array ( $ config ) && isset ( $ config [ 'type' ] ) && $ config [ 'type' ] != 'composer' ) { $ packages = $ repo -> getPackages ( ) ; foreach ( $ packages as $ package ) { $ remotePackages [ $ package -> getName ( ) ] = $ package ; } } } } return $ remotePackages ; }
Get a list of remote packages

@return	array	Array of Composer\Package\PackageInterface representing packages from remote repositories
Get a list of remote packages