Skip to main content

Packagist

Base URL: https://drain.lat/api/v1/packagist
Fetch PHP package information from Packagist/Composer.
string
required
The package vendor name.
string
required
The package name.
string
Package name (vendor/package).
string
Package description.
string
Package type (e.g. library).
string
Repository URL.
string
Homepage URL.
array
Package keywords.
array
License types.
array
number
Total downloads.
number
Downloads in the last month.
number
Downloads in the last day.
number
Number of users who favorited the package.
number
Total number of versions.
string
Last update time (ISO 8601).
string
Link to the Packagist page.
Response