packagist
Skill25 starsChanged 9 months agoMITView on GitHub
Look up PHP packages on Packagist using the API. Use when the user wants to search for packages, get package details or metadata, check download statistics, look up security advisories, list packages by vendor or type, or find popular PHP packages. Triggers on phrases like "find a package for...", "look up packagist", "search for a composer package", "check package stats", "packagist security advisories", "what packages does vendor X have".
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- composer-upgradeSkill
- gritqlSkill
- laravel-advanced-conceptsSkill
- npm-upgradeSkill
- phpstan-developerSkill
- php-type-safetySkill
- rector-developerSkill
- remotion-3d-background-developerSkill
- serpapiSkill
- slidewire-developerSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the Packagist API (via WebFetch) to look up PHP packages.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Packagist
Use the Packagist API (via WebFetch) to look up PHP packages. Always include a User-Agent with mailto= when making requests.
See references/api.md for all endpoints and response formats.
Common Tasks
Search for packages
GET https://packagist.org/search.json?q={query}&per_page=15Filter by type: &type=symfony-bundle
Filter by tag: &tags=psr-3
Get package details
GET https://packagist.org/packages/{vendor}/{package}.jsonReturns maintainers, all versions, dependencies, downloads, favers, GitHub info.
Get download stats
GET https://packagist.org/packages/{vendor}/{package}/stats.jsonCheck security advisories
GET https://packagist.org/api/security-advisories/?packages[]={vendor}/{package}Multiple packages: repeat packages[]= for each.
List a vendor's packages
GET https://packagist.org/packages/list.json?vendor={vendor}Presenting Results
- For search results: show name, description, downloads, and favers
- For package details: show latest stable version, description, license, homepage, and key dependencies
- For stats: show total downloads and monthly trend
- For security advisories: show CVE, severity, affected versions, and title — flag any unpatched advisories clearly
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

