Packagist API guide

packagist.org

Search Packagist for PHP packages and inspect Composer release versions, licenses, repositories, and download counts.

Actions and inputs

packagist search

Find Composer packages by keyword.

Inputs keyword, optional result limit

packagist package

View a package’s release version, license, repository, and download counts.

Inputs vendor/package name

Composer packages

Create

Submit a repository you maintain to list its Composer package on Packagist.

Inputs Repository URL

Read

Inspect a package’s releases, license, source repository, and download counts.

Inputs Vendor/package name

Update

Refresh a package you maintain after updating its Composer metadata or tagging a release in the source repository.

Inputs Vendor/package name

Delete

Remove a package you maintain from Packagist only if the site offers deletion; this does not delete the source repository.

Inputs Vendor/package name and confirmation