Check a Packagist package
check_packageRead the current Packagist facts for one PHP package: latest stable version, required PHP, license, and whether it is abandoned. Use it before composer require. Send vendor/package. Set version to ask about one release; version_found is false when that release is absent, and the latest stable is still returned. This does not list vulnerabilities. The first 5 successful calls each UTC day from one network address are free and need no key. not_found and fetch_failed are not charged and do not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit on success. Key: https://firm.bestsmartgoods.com/signup
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Packagist name, vendor/package. | |
| version | No | Optional release to select. Omit it for the latest stable. |