Skip to content

Packagist API

No authHTTPSDevelopment
Open documentation ↗

Overview

PHP Composer package versions and dist metadata

Packagist is a development API. It needs no API key. It is served over HTTPS and does not allow direct browser requests (no CORS).

At a glance

Authentication
No auth
HTTPS
Yes
CORS
No
Category
Development

Questions

Does the Packagist API need an API key?

No. The Packagist API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Can I call the Packagist API from the browser?

Not directly. The Packagist API does not send CORS headers, so call it from your server or a proxy instead of browser JavaScript.

Does the Packagist API support HTTPS?

Yes, the Packagist API is served over HTTPS.

What are alternatives to the Packagist API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

Compare alternatives →

Listed from public-apis (MIT).