survos/workflow-extension-bundle
A Symfony bundle that extends the Symfony Workflow component with extra features for configuring, visualizing, and working with workflows and state machines. It helps you define workflow behavior in configuration and integrate workflow-driven logic more easily into Symfony applications.
Architecture fit. Despite being framed here as a Laravel/PHP package, survos/workflow-extension-bundle is a Symfony bundle, not a Laravel package. It extends Symfony's native Workflow component to add an admin/developer interface (transition inspection, visualization, potentially test-drive tooling). Its architectural assumptions are Symfony-specific: a Bundle class registered in bundles.php, service container wiring, AbstractController, Twig rendering, and Symfony routes/tags for the admin UI. That means it does not drop into Laravel. Laravel's service container, routing, middleware, Blade, and package discovery are all orthogonal, and there is no published Laravel bridge.
Integration feasibility. For a Symfony application on the Workflow component, integration is plausibly low-friction: install via Composer, enable the bundle, point it at existing framework.workflows configuration, and the admin routes appear. For a Laravel application, feasibility is low without significant glue work: you would need to either (a) run the bundle inside a hybrid/embedded Symfony kernel, (b) reimplement the admin surface on top of Symfony's Workflow component used as a standalone library within Laravel, or (c) fork and replace Symfony coupling (Twig, controllers, config) with Laravel-native equivalents. None of these are trivial.
Technical risk.
workflow-bundle but the package is workflow-extension-bundle. Package/repo name divergence complicates SBOM tracking, dependency review, and support.Key questions.
Stack fit. Good fit: Symfony 6/7 applications already using symfony/workflow, where the bundle is a thin developer-experience layer. Poor fit: Laravel (the framing in this ticket), since no Laravel adapter exists and the bundle's composition is Symfony-native. We should correct the framing early: this is a Symfony evaluation, not a Laravel one.
Migration path. Three realistic options, in order of preference:
composer require survos/workflow-extension-bundle, enable in bundles.php, restrict routes behind an admin firewall, and consume as a dev/admin convenience. This is the intended path and the lowest-effort option.symfony/workflow standalone inside Laravel. If the real need is workflow state machines in Laravel, use the Symfony Workflow component directly (it is framework-agnostic) and build the admin UI natively with Blade/Livewire or Filament — do not attempt to mount this bundle.Compatibility. Verify on Packagist/Metapackagist the declared PHP constraint, Symfony version constraint, and whether the latest 2025-07-22 release supports the Symfony LTS the team is on. Given score 0.02 and 0 dependents, treat the constraint matrix as unproven and validate with a real install in CI before planning around it. Confirm twig/twig, symfony/framework-bundle, and any graph-rendering dependency (e.g., Mermaid/Graphviz tooling) are acceptable additions.
Sequencing.
APP_ENV=dev/admin firewall.Maintenance. This is the dominant concern. The [READ ONLY] prefix plus 0 dependents plus a single maintainer means we should assume no upstream fixes. Any production reliance implies we own the code. Pin versions, vendor the source (Composer path or a private mirror), and budget for periodic review. If we need PHP/Symfony upgrades, we may have to patch locally — plan for that cost or avoid.
Support. Community support is effectively nonexistent at this scale (4 stars, no issue ecosystem to draw on). Internal knowledge must be built and documented; we cannot rely on stack traces being answered upstream. For a Laravel-oriented team, the Symfony idiom gap compounds this.
Scaling. Symfony's Workflow component itself is mature and scales vertically/horizontally as a state machine, including in high-throughput contexts. The admin UI is a developer tool, not a horizontally-scaled production surface — it should be scoped to dev/staging or a protected admin area with strict access control. No scaling plan should route production traffic through this bundle.
Failure modes.
Ramp-up. For a Symfony team: low — a day to install, secure, and document, assuming familiarity with Symfony's Workflow concepts (places, transitions, markings, guards). For a Laravel team: high — the Symfony bundle idiom (bundles, service tags, Twig) is not transferable, so ramp-up is really "learn Symfony architecture," which is not a reasonable cost for an admin convenience. Additionally, understanding the state-machine model itself (places, transitions, subject markings) requires deliberate onboarding regardless of stack. Recommend an internal design note documenting the chosen workflow topology, how the UI maps to it, and explicit runbooks for enabling/disabling the tool per environment before any adoption decision.
How can I help you explore Laravel packages today?