{"adoption": {"forks": 185, "observed_at": "2026-08-28T04:04:28.189090+00:00", "stars": 1350}, "canonical_url": "https://ross.abutalabs.com/products/finite", "card": {"archived": false, "artifact_type": "library", "description": "A Simple PHP Finite State Machine", "domain": ["developer-tools", "backend", "web-development"], "enriched": true, "function": ["state-management", "workflow-automation", "middleware"], "health_score": 69, "homepage": "http://yohan.giarel.li/Finite", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["yohang/Finite"], "name": "yohang/Finite", "platform": ["php"], "pushed_at": "2025-12-01T13:10:06+00:00", "repo": "yohang/Finite", "stars": 1350, "tags": ["finite-state-machine", "state-machine", "php-enums", "symfony", "workflow", "transitions", "domain-modeling", "automation", "web-server"], "topics": [], "urls": [], "use_cases": ["implement a state machine for PHP objects", "manage document workflow states like draft and published", "define state transitions with guards in PHP", "trigger domain logic on state transitions", "model order or approval workflows in PHP", "integrate a state machine into Symfony"], "what_it_is": "Finite is a lightweight, low-dependency PHP finite state machine library that manages state and transition graphs for stateful objects, using PHP Enums in version 2. It supports attaching business logic to states, listening to transition events, and includes Symfony and Twig integrations.", "when_to_avoid": ["you need a distributed or persistent workflow engine", "you're not working in PHP", "you need visual workflow modeling or BPMN support"], "when_to_choose": ["you need a simple, lightweight state machine in PHP with minimal dependencies", "your project uses PHP Enums and wants enum-based state definitions", "you want Symfony or Twig integration for workflows"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/finite", "repo": "yohang/Finite", "role": "main", "score": 54}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "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:04:28.189090+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.189090+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:42:19.140406+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bb6a9f17f545ced54d92f2d3fa4c20ef69a9b0a27a545a63e327d1b9de3a3225", "fetched_at": "2026-08-28T04:04:28.189090+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yohang/Finite"}, {"content_hash": "66e7f184db41d54ed1b55b2f5849208a4ca26225b93f65fc4bbcd1a7c1a0abfc", "fetched_at": "2026-08-29T12:01:10.289307+00:00", "kind": "homepage", "missing": false, "url": "http://yohan.giarel.li/Finite"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 55, "longevity": 100, "rhythm": 27}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5088, "days_push": 275, "days_rel": 275, "gap_med": null, "n_releases_24m": 1}, "score": 54, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}