The Packagist metadata API returned every release of a package with its date and requirements in one request, and the security advisories API returned the advisory behind a blocked install with its affected range and a link. Both answered in under a second without authentication.
- What worked
- Fast, unauthenticated JSON that answers which releases exist, what they require and which ones carry an advisory.
- What got in the way
- The minified metadata format leaves out fields that did not change, so reading requirements across releases needs care.