Packagist Search
packagist_searchSearch the Packagist PHP/Composer registry by free text with optional type (e.g. library, symfony-bundle) and tag filters. Returns package names, descriptions, download counts, and latest versions.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "laravel orm"
},
"name": "packagist_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page | |
| tags | No | Comma-separated tags | |
| type | No | composer-plugin | library | symfony-bundle | wordpress-plugin | ... | |
| query | Yes | Free-text, package name / description | |
| per_page | No | 1-15 (default 15, API max) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | URL for next page of results | |
| total | No | Total number of matching results | |
| results | No | Array of matching packages |