Appearance
Releases
php
final class Zairakai\LaravelDevTools\Update\ReleasesThe releases of a package on Packagist: which are stable, the latest, the tag to start from.
Source: src/Update/Releases.php
Methods
expandReleases()
php
public static function expandReleases(array $releases): arrayThe releases of the metadata of Packagist (p2) in full: after the first one, each lists only what changed.
Returns list<array<string, mixed>>
latestStable()
php
public static function latestStable(array $releases): arrayThe highest stable release, or null.
Returns array<string, mixed>|null
latestTag()
php
public static function latestTag(array $tags): stringThe highest tag of the form X.Y.Z (a tag with a prefix or a suffix is ignored), or null.
peerRange()
php
public static function peerRange(array $releases, string $name): stringThe range in which the latest stable release of a package requires $name, from its metadata on Packagist, or null.