Packagist PHP Packages
PHP packages from Packagist, the Composer registry, for any search, type or list of names: description, type, repository, latest version and PHP requirement, licences, total, monthly and daily installs, GitHub stars, forks and open issues, dependents and abandoned status.
$2 per 1,000 records
You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from packagist.org
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/packagist-php-packages/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"laravel"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
27 fields.
Basics
- Name
Package name as vendor/package, such as laravel/framework.
Example swiftmailer/swiftmailer
- Description
The package's own description.
Example Swiftmailer, free feature-rich PHP mailer
- Type
Composer package type, such as library or symfony-bundle.
Example library
- Language
Main language of the repository, as GitHub reports it.
Example PHP
- Licenses
Licences of the latest release, such as MIT.
Example MIT
- Keywords
Keywords of the latest release.
Example mail, mailer
- Latest version
Latest stable release (latest pre-release when there is no stable one).
Example v6.3.0
- Php requirement
PHP versions the latest release needs, as a Composer constraint such as ^8.2.
Example >=7.0.0
- Releases count
Number of tagged releases.
Example 50
- Downloads total
Installs since the package was added.
Example 456,364,136
- Downloads monthly
Installs in the last 30 days.
Example 2,231,367
- Downloads daily
Installs in the last day.
Example 34,366
- Favers count
Stars on Packagist plus GitHub, as Packagist counts them.
Example 9,754
- Github stars
Stars of the GitHub repository.
Example 9,480
- Github forks
Forks of the GitHub repository.
Example 827
- Github watchers
Watchers of the GitHub repository.
Example 146
- Github open issues
Open issues of the GitHub repository.
Example 278
- Dependents count
Packages on Packagist that require this one.
Example 999
- Suggesters count
Packages on Packagist that suggest this one.
Example 61
- Maintainers count
Number of Packagist users who maintain the package.
Example 1
- Abandoned
Yes when the maintainers marked the package abandoned.
Example Yes
- Replacement package
The package the maintainers suggest instead, when abandoned.
Example symfony/mailer
Dates
- Latest release at
When the latest release came out (UTC).
Example Oct 18, 2021
- Created
When the package was added to Packagist (UTC).
Example Sep 29, 2011
Links
- Link
The package's page on packagist.org.
- Repository link
Code repository of the package.
- Homepage
Project website from the latest release.
Example swiftmailer.symfony.com
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
name | text | Name | 3 of 3 |
url | link | Link | 3 of 3 |
description | text | Description | 3 of 3 |
type | text | Type | 3 of 3 |
repository_url | link | Repository link | 3 of 3 |
homepage | link | Homepage | 3 of 3 |
language | text | Language | 3 of 3 |
licenses | list | Licenses | 3 of 3 |
keywords | list | Keywords | 3 of 3 |
latest_version | text | Latest version | 3 of 3 |
latest_release_at | date and time | Latest release at | 3 of 3 |
php_requirement | text | Php requirement | 3 of 3 |
releases_count | number | Releases count | 3 of 3 |
downloads_total | number | Downloads total | 3 of 3 |
downloads_monthly | number | Downloads monthly | 3 of 3 |
downloads_daily | number | Downloads daily | 3 of 3 |
favers_count | number | Favers count | 3 of 3 |
github_stars | number | Github stars | 3 of 3 |
github_forks | number | Github forks | 3 of 3 |
github_watchers | number | Github watchers | 3 of 3 |
github_open_issues | number | Github open issues | 3 of 3 |
dependents_count | number | Dependents count | 3 of 3 |
suggesters_count | number | Suggesters count | 3 of 3 |
maintainers_count | number | Maintainers count | 3 of 3 |
is_abandoned | yes or no | Abandoned | 3 of 3 |
replacement_package | text | Replacement package | 1 of 3 |
created_at | date and time | Created | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Name | Description | Type | Language | Licenses | Keywords | Latest version | Php requirement | Releases count | Downloads total | Downloads monthly | Downloads daily | Favers count | Github stars | Github forks | Github watchers | Github open issues | Dependents count | Suggesters count | Maintainers count | Abandoned | Replacement package | Latest release at | Created | Link | Repository link | Homepage |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | swiftmailer/swiftmailer | Swiftmailer, free feature-rich PHP mailer | library | PHP | MIT | mail, mailer, email | v6.3.0 | >=7.0.0 | 50 | 456,364,136 | 2,231,367 | 34,366 | 9,754 | 9,480 | 827 | 146 | 278 | 999 | 61 | 1 | Yes | symfony/mailer | Oct 18, 2021 | Sep 29, 2011 | packagist.org/packages/swiftmailer/swiftmailer | github.com/swiftmailer/swiftmailer | swiftmailer.symfony.com |
| 2 | laravel/framework | The Laravel Framework. | library | PHP | MIT | framework, laravel | v13.45.0 | ^8.3 | 1,323 | 644,833,626 | 31,445,178 | 743,697 | 35,889 | 35,400 | 12,334 | 943 | 118 | 21,834 | 437 | 1 | No | — | Dec 1, 2026 | Jan 10, 2013 | packagist.org/packages/laravel/framework | github.com/laravel/framework | laravel.com |
| 3 | spatie/laravel-permission | Permission handling for Laravel 12 and up | library | PHP | MIT | security, acl, laravel, permission | 8.5.2 | ^8.3 | 231 | 142,418,893 | 10,557,196 | 238,867 | 13,165 | 12,994 | 1,819 | 186 | 3 | 1,499 | 106 | 1 | No | — | Nov 30, 2026 | Sep 15, 2015 | packagist.org/packages/spatie/laravel-permission | github.com/spatie/laravel-permission | github.com/spatie/laravel-permission |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- A search returns at most 300 packages, Packagist's own limit, in Packagist's own order (best match first). Add package_names to reach others.
- Install counts, GitHub numbers and dependents are Packagist's own figures, which Packagist refreshes about every 12 hours; the GitHub numbers are empty for packages not hosted on GitHub.
- At most 1,000 packages per run. Each package needs one extra read of its full record, so large runs take a few minutes.
- homepage, keywords and php_requirement come from the latest release and are empty when that release does not set them; maintainers_count counts Packagist accounts only.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.