{"uid":"cap_oIfQye_QmwEvh4e4P9f72","slug":"packagist-php-package-health-check-a1096970","name":"Packagist PHP Package Health Check","description":"Health of a PHP Composer package on Packagist: latest stable release age, downloads, license, abandonment and GitHub signals.","url":"https://package-registries.x402tookit.com/packagist-health?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"vendor/package, e.g. laravel/framework"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"name":{"type":["null","string"]},"favers":{"type":["null","number"]},"source":{"type":["null","string"]},"license":{"type":["array","null"],"items":{"type":"string"}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"abandoned":{"type":["boolean","null"]},"downloads":{"type":["null","object"],"properties":{"daily":{"type":["null","number"]},"total":{"type":["null","number"]},"monthly":{"type":["null","number"]}}},"sourceUrl":{"type":["null","string"]},"dependents":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"repository":{"type":["null","string"]},"description":{"type":["null","string"]},"githubStars":{"type":["null","number"]},"maintainers":{"type":["null","number"]},"replacement":{},"firstPublished":{"type":["null","string"]},"daysSinceLatest":{"type":["null","number"]},"githubOpenIssues":{"type":["null","number"]},"latestStableVersion":{"type":["null","string"]},"latestStablePublished":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SXF1_NXNztH-1g7ybI7Nf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns health signals for a PHP Composer package on Packagist: release age, download counts, license, abandonment status, and GitHub metrics.","exampleAgentPrompt":"Can you check the health of the guzzlehttp/guzzle package on Packagist — I want to know if it's still actively maintained, what the latest stable version is, how many downloads it has, and whether it's abandoned?","exampleUseCases":[{"title":"Vetting a new PHP dependency","prompt":"Before I add league/flysystem to my project, can you check its Packagist health? I want to know if it's abandoned, what the latest stable version is, and how many monthly downloads it gets."},{"title":"Auditing legacy project dependencies","prompt":"I'm auditing an old Laravel project and I need to check whether doctrine/dbal is still actively maintained on Packagist — can you tell me its release age, abandonment status, and any replacement package if it's deprecated?"},{"title":"Comparing package freshness before migration","prompt":"We're deciding between two Composer packages — can you pull the Packagist health data for symfony/http-client, including its GitHub stars, open issues, and how many days since the last stable release?"}],"resultDescription":"Returns a structured health report for the requested Packagist package including: package name, latest stable version and its publish date, days since latest release, total/monthly/daily download counts, license(s), abandonment flag, number of maintainers, GitHub stars, GitHub open issues, number of dependents, a human-readable summary, a verdict string, and optionally a replacement package recommendation and disclaimer. Also includes the Packagist source URL and the timestamp of the data.","failureModes":["Package not found on Packagist — returns null or error for unknown vendor/package slugs","Invalid package name format (must be vendor/package) — query param validation failure","Packagist API unavailable — upstream timeout or error","GitHub signals missing if repository is not hosted on GitHub","Payment failure (x402) — 402 response if USDC payment not provided"],"whenToPreferThis":"Use this endpoint when you need a quick, structured health assessment of a specific PHP Composer package from Packagist, including abandonment signals, download velocity, license, and GitHub activity. Prefer this over manual Packagist browsing when you need machine-readable verdicts for dependency auditing, CI checks, or automated project health reports. Choose sibling endpoints for npm, RubyGems, NuGet, or other ecosystems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:44.267Z","isFirstParty":false,"canonicalSlug":"packagist-php-package-health-check-a1096970"}