fintem/workflow-logger-bundle
Fintem Workflow Logger Bundle adds structured logging around workflow transitions and events, making it easier to trace state changes, debug process flows, and audit activity in PHP applications. Capture context-rich records for every workflow step and troubleshoot issues faster.
from → to → actor → timestamp at the transition layer (rather than reconstructing it later from app logs) is a schema decision that's cheap now and expensive in six months.status field. That choice gates future features — SLA timers, cycle-time analytics, "stuck in state" alerting, backfill-free reporting.symfony/framework-bundle wiring that isn't worth importing). The PM decision is therefore "mine the pattern, not the package," and standardize on a Laravel-native equivalent (a model observer or event listener writing to an audit table, optionally with spatie/laravel-activitylog for the read side and a state-machine package such as spatie/laravel-model-states for the transitions themselves).Consider it only when all of these hold:
symfony/workflow, and needs transition logging this sprint.Look elsewhere — or build — when any of these are true:
Default recommendation: treat this repo as a specification of what to record, not a dependency. Copy the event surface (which workflow events to hook, which fields to capture, how to avoid double-logging on guard failures) into a first-party listener.
To executives: We evaluated a small open-source add-on for logging workflow/state changes. It's a Symfony component last released in 2018 with a single star and no downstream users — not something we should put in the dependency tree. But it clarified a genuinely valuable capability: a durable record of every state transition, with who did it and when. We recommend a short first-party build instead: roughly one to two engineering days, no licensing cost, no vendor risk, and it directly de-risks audit questions and cuts "why is this stuck?" support tickets. It also unlocks a customer-facing activity timeline later at near-zero incremental cost. Recommendation: decline the dependency, fund the small build, scope it to the two or three highest-traffic stateful entities first.
To engineering: Don't add fintem/workflow-logger-bundle — it's a Symfony bundle with no releases since Feb 2018, one star, zero dependents, and it won't wire into Laravel anyway. What we want is the pattern: subscribe to state-transition events, write an append-only row per transition (entity_type, entity_id, from_state, to_state, actor_id, source, occurred_at, metadata), fail-open so logging never blocks the transaction, and index on (entity_type, entity_id, occurred_at) for the timeline read. Keep it behind an interface so we can swap storage. Ship it as a shared package in the monorepo rather than per-service copy-paste. Flag: if any team is already on Symfony Workflow, this repo is still worth ten minutes as a reference for which events to hook and how to avoid duplicate entries on guarded transitions — read it, don't require it.
How can I help you explore Laravel packages today?