knplabs/packagist-api
Packagist API client.
v2.2.0
1.5M downloads/mo
#4022 most downloaded on Packagist
KnpLabs/packagist-api
What this package is like to depend on
Last release 8 days ago
15 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.2 years
Some releases are documented
notes for 9 of 22 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
27 releases · first in 2013
1 release in the last 12 months
see the full history below
Release timeline
26 releases · Aug 2013 to Aug 2026Releases
latest 27-
v2.2.015 Aug 2026Release notes
Open source →What's Changed
- Drop PHP 7.x, add PHP 8.4/8.4, update PHPSpec and Codesniffer by @robbieaverill in #113
Full Changelog: v2.1.4...v2.2.0
-
v2.1.420 May 2025 -
v2.1.305 Mar 2025Nothing published for this version
-
v2.1.205 Mar 2025 -
v2.1.109 Dec 2024Release notes
Open source →What's Changed
- remove $ so gitclip works. by @tacman in #100
- Add PHP 8.3 to CI matrix by @robbieaverill in #103
- fix nullable declaration for php 8.4 by @tacman in #104
New Contributors
Full Changelog: v2.1.0...v2.1.1
-
v2.1.007 Dec 2023Release notes
Open source →What's Changed
- Add new properties to Package, Version, and Maintainer by @robbieaverill in #98
New support added for properties:
- Package:
getGithubWatchers(),getGithubOpenIssues(),getLanguage() - Version:
getSupport(),getTargetDir(),getDefaultBranch() - Maintainer:
getAvatarUrl()
Full Changelog: v2.0.3...v2.1.0
-
v2.0.306 Dec 2023Release notes
Open source →What's Changed
- Confirm tests fail on PHP 8.2 by @GrahamCampbell in #94
- Unknown properties from the Packagist API are no longer set on AbstractResult by @robbieaverill in #96
Full Changelog: v2.0.2...v2.0.3
-
v2.0.218 Jan 2023Release notes
Open source →What's Changed
- Test PHP 7.4 and 8.0 in GitHub Actions by @robbieaverill in #90
- Check types by @garak in #89
Full Changelog: v2.0.1...v2.0.2
-
v2.0.108 Dec 2022 -
v2.0.008 Aug 2022Release notes
Open source →v2.0.0 introduces a minimum of PHP 7.4, and a number of other changes, including:
- Strict types, adjusted method parameter and return types
- Exception thrown when a package was not found
- New methods Client::getComposer(), Client::getComposerReleases(), Client::getComposerBranches() for more granular and cacheable Packagist metadata
- Support for handling Packagist 2.0 API response structure
- Support for accessing security advisories from the Packagist API
What's Changed
- fix limit check in search by @garak in #70
- feat: add methods to fetch package info from new composer 2 api by @JellyBellyDev in #72
- Fix the specs to pass by @stof in #74
- Replace Travis CI with GitHub Actions by @robbieaverill in #77
- Fix the handling of minified metadata responses by @stof in #75
- Mark reference and shasum of dist correctly as nullable by @jdrieghe in #78
- Fix bug where packages with a null description would cause a return type error by @robbieaverill in #81
- fix: getComposer method by @JellyBellyDev in #79
- Requesting a package that results in a 404 now throws a PackageNotFoundException by @robbieaverill in #83
- Fix bug where null downlaods from Packagist API would result in an internal error by @robbieaverill in #85
- New: Add security advisories endpoint. by @GuySartorelli in #86
New Contributors
- @JellyBellyDev made their first contribution in #72
- @stof made their first contribution in #74
- @jdrieghe made their first contribution in #78
- @GuySartorelli made their first contribution in #86
Full Changelog: v1.7.0...v2.0.0
-
v2.0.0-rc3no date pre-releaseNothing published for this version
-
v2.0.0-rc203 Mar 2022 pre-releaseNothing published for this version
-
v2.0.0-rc101 Mar 2022 pre-releaseNothing published for this version
-
v2.0.0-beta222 Dec 2020 pre-releaseNothing published for this version
-
v2.0.0-beta101 Dec 2020 pre-releaseNothing published for this version
-
v1.7.201 Mar 2022Nothing published for this version
-
v1.7.103 Dec 2020Nothing published for this version
-
v1.7.028 Nov 2020Nothing published for this version
-
v1.6.108 Sep 2020Nothing published for this version
-
v1.6.027 May 2020Nothing published for this version
-
v1.5.119 Jan 2018Nothing published for this version
-
v1.5.031 May 2017Nothing published for this version
-
v1.4.016 May 2017Nothing published for this version
-
1.3.007 Sep 2015Nothing published for this version
-
v1.217 Sep 2014Nothing published for this version
-
v1.122 Nov 2013Nothing published for this version
-
v1.030 Aug 2013Nothing published for this version