Packagist
repo.packagist.org
PHP package metadata from Packagist: every Composer version, requirements and autoload configuration.
GET /v1/data/packagist/details1Request
The part of the package name before the slash, lowercase.
The part after the slash, lowercase.
curl "https://api.fastcrw.com/v1/data/packagist/details?vendor=monolog&name=monolog" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from Packagist.
{
"package": {
"name": "monolog/monolog",
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"time": "2011-09-27T00:35:19+00:00",
"maintainers": [
{
"name": "Seldaek",
"avatar_url": "https://www.gravatar.com/avatar/b69782e1d7f426ef78f61d159c466a536372eff931f13981ac578fa3f4649352?d=identicon"
}
],
"versions": {
"dev-main": {
"name": "monolog/monolog",
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"keywords": [
"log",
"logging",
"… 1 more items"
],
"homepage": "https://github.com/Seldaek/monolog",
"version": "dev-main",
"version_normalized": "dev-main",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "https://seld.be"
}
],
"source": {
"url": "https://github.com/Seldaek/monolog.git",
"type": "git",
"reference": "3bed304b1905fed5c30d172872f4d890cbb03c6a"
},
"dist": {
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/3bed304b1905fed5c30d172872f4d890cbb03c6a",
"type": "zip",
"shasum": "",
"reference": "3bed304b1905fed5c30d172872f4d890cbb03c6a"
},
"type": "library",
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/main"
},
"funding": [
{
"url": "https://github.com/Seldaek",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/monolog/monolog",
"type": "tidelift"
}
],
"time": "2026-10-05T13:02:04+00:00",
"published-time": "2026-10-05T13:02:08+00:00",
"autoload": {
"psr-4": {
"Monolog\\": "src/Monolog"
}
},
"extra": {
"branch-alias": {
"dev-main": "3.x-dev"
}
},
"default-branch": true,
"require": {
"php": ">=8.1",
"psr/log": "^2.0 || ^3.0"
},
"require-dev": {
"doctrine/couchdb": "~1.0@dev",
"php-amqplib/php-amqplib": "~2.4 || ^3",
"aws/aws-sdk-php": "^3.0",
"ext-json": "*",
"elasticsearch/elasticsearch": "^7 || ^8",
"guzzlehttp/psr7": "^2.2",
"symfony/mailer": "^5.4 || ^6",
"symfony/mime": "^5.4 || ^6",
"predis/predis": "^1.1 || ^2",
"guzzlehttp/guzzle": "^7.4.5",
"graylog2/gelf-php": "^1.4.2 || ^2.0",
"ruflin/elastica": "^7 || ^8",
"rollbar/rollbar": "^4.0",
"php-console/php-console": "^3.1.8",
"phpstan/phpstan": "^2",
"phpstan/phpstan-deprecation-rules": "^2",
"phpstan/phpstan-strict-rules": "^2",
"phpunit/phpunit": "^10.5.17 || ^11.0.7",
"mongodb/mongodb": "^1.8 || ^2.0",
"psr/clock": "^1.0"
},
"suggest": {
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
"elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
"ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server (via li
…truncatedAttribution: Source: Packagist
Licence: Packagist is the public Composer repository; the metadata endpoint is the documented way to read it. We pass it through and do not licence callers to rebuild the registry.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Package details
Use Packagist (packagist) from fastCRW Pergamon, capability "Package details" (details). You want the human-facing facts about a PHP package — popularity, maintainers, repo, whether it is abandoned — not just its Composer requirements. Example options: vendor=monolog, name=monolog. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "packagist" and capability "details". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Development branch metadata
Use Packagist (packagist) from fastCRW Pergamon, capability "Development branch metadata" (dev). You need the requirements of a package's development branches rather than its tagged releases. Example options: vendor=monolog, name=monolog. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "packagist" and capability "dev". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Monthly download history
Use Packagist (packagist) from fastCRW Pergamon, capability "Monthly download history" (downloads). You want to chart a PHP package's adoption over months or years rather than read a single total. Example options: vendor=monolog, name=monolog, average=monthly. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "packagist" and capability "downloads". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Packages by vendor
Use Packagist (packagist) from fastCRW Pergamon, capability "Packages by vendor" (list). You know an organisation's vendor prefix and want to enumerate everything it publishes. Example options: vendor=monolog, type=library. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "packagist" and capability "list". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
