Return the latest release for a specific package and stability.
public getLatestRelease ( string $package, string $stability = 'stable' ) : string | boolean | ||
$package | string | The name of the package. |
$stability | string | The stability of the release. Must be one of "stable", "beta", "alpha", or "devel". The default is "stable" If you explicitely set the $stability parameter to NULL the method will return the highest release version independent of the stability. |
Résultat | string | boolean | The latest version for this stability or false if no version with this stability level exists. |