spatie/packagist-api
Search Packagist and fetch package details via the official Packagist API. Provides a simple PackagistClient built on Guzzle with a URL generator, plus helpers to list all packages or filter by vendor/type, and browse popular packages with pagination.
Developer Tooling & Ecosystem Integration
Build vs. Buy
Roadmap Prioritization
Use Cases
license fields from package metadata.Adopt if:
Look elsewhere if:
box/spout (for CSV/Excel exports) combined with registry-specific APIs.*"This package lets us automate dependency risk management by tapping into Packagist’s data—without building or maintaining our own API client. For example, we could:
*"Spatie’s packagist-api gives us a simple, well-documented PHP client to fetch package metadata (versions, dependencies, licenses) from Packagist. Key benefits:
*"This package enables programmatic access to package metadata, which is critical for:
How can I help you explore Laravel packages today?