download_stats
Retrieve all-time, monthly, and daily download counts plus a time series for a PHP package, optionally filtered by version, to analyze adoption trends and release rollout.
Instructions
Download counts for a package: all-time, monthly and daily totals plus a time series. Series is for all versions, or one version if given, with daily or monthly points (most recent N). Useful for adoption trends and for how fast a new release is rolling out.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "download_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name as 'vendor/package'. | |
| period | No | Point granularity. | monthly |
| points | No | Number of most recent points. | |
| version | No | Single version such as '3.13.0'; omit for all versions combined. |