{"adoption": {"forks": 349, "observed_at": "2026-08-28T04:03:13.912393+00:00", "stars": 1014}, "canonical_url": "https://ross.abutalabs.com/products/thinkphp5-restfulapi", "card": {"archived": false, "artifact_type": "framework", "description": "restful-api风格接口 APP接口 APP接口权限  oauth2.0 接口版本管理 接口鉴权", "domain": ["web-development", "backend", "apis"], "enriched": true, "function": ["api-framework", "auth", "routing", "middleware", "http-server"], "health_score": 20, "homepage": null, "language": "PHP", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["Leslin/thinkphp5-restfulapi"], "name": "Leslin/thinkphp5-restfulapi", "platform": ["php", "self-hosted"], "pushed_at": "2023-03-29T08:51:33+00:00", "repo": "Leslin/thinkphp5-restfulapi", "stars": 1014, "tags": ["thinkphp5", "restful-api", "oauth2", "access-token", "api-versioning", "app-backend", "web-server"], "topics": ["thinkphp5", "restful-api", "tp5", "api-server", "restful", "thinkphp5-restfulapi"], "urls": [], "use_cases": ["build a restful api backend with thinkphp5", "add oauth2 access token authentication to php api", "version my api endpoints v1 v2", "secure app interfaces with token-based auth", "refresh token flow for mobile app api", "whitelist routes that skip authentication"], "what_it_is": "A lightweight RESTful API starter built on ThinkPHP 5.1, providing token-based authentication (OAuth2-style access/refresh tokens), API versioning, and permission checks in under 200 lines of code. It is aimed at PHP developers building mobile-app or web API backends on the ThinkPHP framework.", "when_to_avoid": ["you use a modern PHP framework like Laravel or Symfony", "you need a non-RESTful or microservice architecture", "your project requires a permissive license (it uses the 996-prohibited NPL license)", "you need long-term support - the project is based on an aging framework"], "when_to_choose": ["you are already using ThinkPHP 5.x and need a quick API skeleton with auth", "you want a minimal, readable codebase to customize for app backends"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/thinkphp5-restfulapi", "repo": "Leslin/thinkphp5-restfulapi", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "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:03:13.912393+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.912393+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:11:30.974662+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc32b28924eaa8ad7bd3457597609ebb577868e95d1443d0cb8b8da5ae599521", "fetched_at": "2026-08-28T04:03:13.912393+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Leslin/thinkphp5-restfulapi"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3276, "days_push": 1253, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}