AgentAPIGate
Back to Catalog
GET /v1/registry/packagist/searchPack: intel·MCP Tool: registry_packagist_search

Packagist PHP Composer Package Search

Search official Packagist.org PHP Composer packages by keyword with downloads, stars, and Git URLs.

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Composer package search query (e.g. symfony, laravel, guzzle)
Optional Packagist tag filter (e.g. psr-7, http)
Page number (default 1)
Results per page (1-50)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/registry/packagist/search" \
  --data-urlencode "query=symfony" \
  --data-urlencode "per_page=15" \
  --data-urlencode "page=1" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-62% tokens
# Packagist PHP Composer Package Search (`registry.packagist.search`)
**query**: symfony · **count**: 15

### 1. symfony/polyfill-mbstring (https://packagist.org/packages/symfony/polyfill-mbstring)
Symfony polyfill for the Mbstring extension
- downloads=1379132034 | favers=7830 | repository=https://github.com/symfony/polyfill-mbstring
### 2. symfony/http-foundation (https://packagist.org/packages/symfony/http-foundation)
Defines an object-oriented layer for the HTTP specification
- downloads=1061011599 | favers=8695 | repository=https://github.com/symfony/http-foundation
### 3. symfony/finder (https://packagist.org/packages/symfony/finder)
Finds files and directories via an intuitive fluent interface
- downloads=1196715402 | favers=8502 | repository=https://github.com/symfony/finder
### 4. symfony/event-dispatcher (https://packagist.org/packages/symfony/event-dispatcher)
Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
- downloads=1176433814 | favers=8580 | repository=https://github.com/symfony/event-dispatcher
### 5. symfony/console (https://packagist.org/packages/symfony/console)
Eases the creation of beautiful and testable command line interfaces
- downloads=1294908287 | favers=9990 | repository=https://github.com/symfony/console
### 6. symfony/property-info (https://packagist.org/packages/symfony/property-info)
Extracts information about PHP class' properties using metadata of popular sources
- downloads=347326633 | favers=2224 | repository=https://github.com/symfony/property-info
### 7. nunomaduro/collision (https://packagist.org/packages/nunomaduro/collision)
Cli error handling for console/command-line PHP applications.
- downloads=436745942 | favers=4683 | repository=https://github.com/nunomaduro/collision
### 8. symfony/yaml (https://packagist.org/packages/symfony/yaml)
Loads and dumps YAML files
- downloads=946434531 | favers=3930 | repository=https://github.com/symfony/yaml
### 9. symfony/var-exporter (https://packagist.org/packages/symfony/var-exporter)
Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects
- downloads=487222247 | favers=2102 | repository=https://github.com/symfony/var-exporter
### 10. symfony/var-dumper (https://packagist.org/packages/symfony/var-dumper)
Provides mechanisms for walking through any arbitrary PHP variable
- downloads=1038981787 | favers=7564 | repository=https://github.com/symfony/var-dumper
### 11. symfony/validator (https://packagist.org/packages/symfony/validator)
Provides tools to validate values
- downloads=355233368 | favers=2732 | repository=https://github.com/symfony/validator
### 12. symfony/translation-contracts (https://packagist.org/packages/symfony/translation-contracts)
Generic abstractions related to translation
- downloads=878517104 | favers=2583 | repository=https://github.com/symfony/translation-contracts
### 13. symfony/translation (https://packagist.org/packages/symfony/translation)
Provides tools to internationalize your application
- downloads=1009950807 | favers=6635 | repository=https://github.com/symfony/translation
### 14. symfony/string (https://packagist.org/packages/symfony/string)
Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
- downloads=921391914 | favers=1795 | repository=https://github.com/symfony/string
### 15. symfony/stopwatch (https://packagist.org/packages/symfony/stopwatch)
Provides a way to profile code
- downloads=472849560 | favers=2828 | repository=https://github.com/symfony/stopwatch

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: registry.packagist.search · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringrequiredsymfonyComposer package search query (e.g. symfony, laravel, guzzle)
tagsstringoptional—Optional Packagist tag filter (e.g. psr-7, http)
pagenumberoptional1Page number (default 1)
per_pagenumberoptional15Results per page (1-50)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolregistry_packagist_searchOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency249 ms$0 billed on empty or 4xx/5xx
Token Economy2522t → 964t (-62%)Partner credit: eligible

More registry.packagist Sibling Endpoints

Frequently Asked Questions

How do I call Packagist PHP Composer Package Search (registry.packagist.search) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/registry/packagist/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool registry_packagist_search on https://mcp.agentapigate.ai/mcp.

What does registry.packagist.search cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on registry.packagist.search?

Passing ?format=md transforms the response into normalized Markdown (~964 tokens vs ~2522 raw tokens, saving 62% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only intel endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["registry.packagist.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.