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.

Try it
Ready-made, maintained by usRecords, 27 fieldsv1.0

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

Searchoptional
Words to search PHP packages for, as on packagist.org, such as laravel or pdf.
Example: laravel
Package namesoptional
Packages to look up by name, as vendor/package, such as laravel/framework or symfony/console. One per line, or separated by commas.
Example: laravel/framework
Typeoptional
Only packages of this Composer type, such as library, symfony-bundle, wordpress-plugin, drupal-module or magento2-module. Works alone or with search.
Example: library

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
Endpoint
POSThttps://pullrow.dev/v1/apis/packagist-php-packages/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
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.

searchtext
Words to search PHP packages for, as on packagist.org, such as laravel or pdf.
example: laravel
package_nameslist
Packages to look up by name, as vendor/package, such as laravel/framework or symfony/console.
example: laravel/framework
typetext
Only packages of this Composer type, such as library, symfony-bundle, wordpress-plugin, drupal-module or magento2-module. Works alone or with search.
example: library

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

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 nameTypeShown on this page asFilled
nametextName3 of 3
urllinkLink3 of 3
descriptiontextDescription3 of 3
typetextType3 of 3
repository_urllinkRepository link3 of 3
homepagelinkHomepage3 of 3
languagetextLanguage3 of 3
licenseslistLicenses3 of 3
keywordslistKeywords3 of 3
latest_versiontextLatest version3 of 3
latest_release_atdate and timeLatest release at3 of 3
php_requirementtextPhp requirement3 of 3
releases_countnumberReleases count3 of 3
downloads_totalnumberDownloads total3 of 3
downloads_monthlynumberDownloads monthly3 of 3
downloads_dailynumberDownloads daily3 of 3
favers_countnumberFavers count3 of 3
github_starsnumberGithub stars3 of 3
github_forksnumberGithub forks3 of 3
github_watchersnumberGithub watchers3 of 3
github_open_issuesnumberGithub open issues3 of 3
dependents_countnumberDependents count3 of 3
suggesters_countnumberSuggesters count3 of 3
maintainers_countnumberMaintainers count3 of 3
is_abandonedyes or noAbandoned3 of 3
replacement_packagetextReplacement package1 of 3
created_atdate and timeCreated3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameDescriptionTypeLanguageLicensesKeywordsLatest versionPhp requirementReleases countDownloads totalDownloads monthlyDownloads dailyFavers countGithub starsGithub forksGithub watchersGithub open issuesDependents countSuggesters countMaintainers countAbandonedReplacement packageLatest release atCreatedLinkRepository linkHomepage
1swiftmailer/swiftmailerSwiftmailer, free feature-rich PHP mailerlibraryPHPMITmail, mailer, emailv6.3.0>=7.0.050456,364,1362,231,36734,3669,7549,480827146278999611Yessymfony/mailerOct 18, 2021Sep 29, 2011packagist.org/packages/swiftmailer/swiftmailergithub.com/swiftmailer/swiftmailerswiftmailer.symfony.com
2laravel/frameworkThe Laravel Framework.libraryPHPMITframework, laravelv13.45.0^8.31,323644,833,62631,445,178743,69735,88935,40012,33494311821,8344371No—Dec 1, 2026Jan 10, 2013packagist.org/packages/laravel/frameworkgithub.com/laravel/frameworklaravel.com
3spatie/laravel-permissionPermission handling for Laravel 12 and uplibraryPHPMITsecurity, acl, laravel, permission8.5.2^8.3231142,418,89310,557,196238,86713,16512,9941,81918631,4991061No—Nov 30, 2026Sep 15, 2015packagist.org/packages/spatie/laravel-permissiongithub.com/spatie/laravel-permissiongithub.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.
Known limits
  • 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.