tarfin-labs/event-machine
This system is a PHP-based state machine framework that manages complex, asynchronous workflows through event-driven transitions. It provides a robust engine for defining states, handling parallel execution, and managing child machine delegation with typed input/output contracts. The framework includes comprehensive tooling for testing, static analysis, and queryable state tracking, all supported by a modernized infrastructure for archival and scheduling.
65.0
Adequate · 4 August 2026
25k
lines of production code
PHP
primary language
1
bus factor · 7 authors in all
2
measurements over time
How it got here
2023 · EventMachine package and infrastructure
This period focused on the creation and expansion of the EventMachine package, introducing core components such as context management, state validation, and CLI commands. The work included adding specialized exception classes, Eloquent models for state tracking, and database migrations to support new lifecycle and concurrency features. Additionally, the testing infrastructure was modernized with Pest and expanded with numerous test stubs to cover the new functionality.
31 changes
2024–2026 · Test coverage and feature expansion
This period focused on significantly expanding test coverage across the state machine framework, introducing new test stubs and comprehensive suites for commands, jobs, and parallel states. Concurrently, the codebase grew with new features including an event archival service, async job handling, and a scenario-based execution engine for defining and testing complex workflows.
65 changes
Survey your own repository
tarfin-labs/event-machine was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 4 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 8053d376f5 — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.