{"adoption": {"forks": 937, "observed_at": "2026-08-28T04:09:15.366513+00:00", "stars": 5306}, "canonical_url": "https://ross.abutalabs.com/products/swagger-php", "card": {"archived": false, "artifact_type": "library", "description": "A php swagger annotation and parsing library", "domain": ["apis", "documentation", "web-development", "developer-tools"], "enriched": true, "function": ["api-framework", "documentation", "parser", "cli"], "health_score": 100, "homepage": "http://zircote.github.io/swagger-php/", "language": "PHP", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["zircote/swagger-php"], "name": "zircote/swagger-php", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-26T20:45:15+00:00", "repo": "zircote/swagger-php", "stars": 5306, "tags": ["openapi", "swagger", "api-docs", "php-attributes", "rest-api"], "topics": [], "urls": [], "use_cases": ["generate OpenAPI documentation from PHP source code", "document a RESTful API with PHP attributes", "produce swagger. or openapi.yaml specs for a PHP API", "keep API docs in sync with code via docblock annotations", "generate OpenAPI 3.1 specs from a PHP codebase", "add interactive API documentation to a PHP backend"], "what_it_is": "A PHP library that generates OpenAPI (Swagger) documentation for RESTful APIs using PHP 8 attributes or legacy doctrine annotations embedded in source code. It supports OpenAPI 3.0, 3.1, and 3.2 specs and can be used programmatically or via a command-line tool.", "when_to_avoid": ["your API is not written in PHP", "you prefer writing OpenAPI specs by hand or from a design-first workflow", "you rely on doctrine annotations without wanting an extra dependency (attributes are preferred)"], "when_to_choose": ["you maintain a PHP REST API and want OpenAPI docs generated from the code itself", "you want documentation colocated with controllers using PHP 8 attributes", "you need CLI or programmatic generation of OpenAPI 3.0/3.1/3.2 specs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swagger-php", "repo": "zircote/swagger-php", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.366513+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:59:00.290510+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4ffc4217bf0e2991a38e09281051f111b470bebc8d93f7ae53183d7d8c13990c", "fetched_at": "2026-08-28T04:09:15.366513+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zircote/swagger-php"}, {"content_hash": "0bd38952c2899676e4cbfe1667d26fcfd5109032b15bd53b3704e5f71ce8ff82", "fetched_at": "2026-08-29T08:53:47.237642+00:00", "kind": "homepage", "missing": false, "url": "http://zircote.github.io/swagger-php/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5275, "days_push": 7, "days_rel": 9, "gap_med": 6.0, "n_releases_24m": 65}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}