Download the PHP package nowo-tech/workflow-bundle without Composer
On this page you can find all versions of the php package nowo-tech/workflow-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nowo-tech/workflow-bundle
More information about nowo-tech/workflow-bundle
Files in nowo-tech/workflow-bundle
Package workflow-bundle
Short Description Symfony bundle to define and run Symfony Workflow state machines from database definitions with built-in CRUD.
License MIT
Homepage https://packagist.org/packages/nowo-tech/workflow-bundle
Informations about the package workflow-bundle
NowoWorkflowBundle
⭐ Found this useful? Give it a star on GitHub! It helps us maintain and improve the project.
Define Symfony Workflow state machines and workflows in the database, manage them with a built-in CRUD UI, and execute transitions at runtime through DatabaseWorkflowRegistry and WorkflowApplicator.
📋 Compatible with Symfony 7.4+ (PHP 8.2+) and 8.x (PHP 8.4+) — tested on Symfony 7.4, 8.0, and 8.1+.
This bundle is FrankenPHP worker mode friendly.
|
Definitions list — match rules, priority and row actions |
Definition detail — flow diagram of a branching state machine |
Transitions editor — dialog with searchable from / to places |
Features
- Persist workflow definitions (places, transitions, subject class, marking property) in Doctrine
- Configurable Doctrine
table_prefixfor table and constraint names - Built-in admin UI at
/workflow(configurable path), protected by default viasecurity.access_roles/WorkflowUiAccessPolicyInterface - Admin pages on the UiKit 2.1 page contract (REQ-UI-003): list, show, form, settings and dashboard scaffolds themed once by the host (
nowo_ui_kit.layouts/nowo_ui_kit.theme), flow diagram and collection editors on native<dialog>s, no CDN assets — see Templates - Configurable
web_ui.path_prefix,web_ui.layout_template,web_ui.templates.<page>andweb_ui.list_page_size - UI translations for
en,es,fr,it,de,nl,pt(enable extra locales inweb_ui.locales) - Runtime resolution via
DatabaseWorkflowRegistry(Symfony Workflow component) WorkflowRuntimeInterface/WorkflowApplicatorto apply transitions (your code persists the subject;runtime.flush_after_apply: truelets the bundle flush it)- Optional header search (SearchKit 1.10+, PHP 8.3+): one group per request type finds your workflow requests by a search text and their status, only those your access rules let the viewer see — see Usage
- Demo with order approval (state machine) and document review (parallel workflow)
- FrankenPHP worker mode: Supported (including kernel not reset between requests; see Worker audit)
Quick start
Demo
Open http://localhost:8022 — try the CRUD at /workflow and playgrounds for orders/documents.
Playwright e2e and the README screenshots (REQ-DEMO-013): make -C demo/symfony8 test-e2e and
make -C demo/symfony8 demo-screenshots (after make -C demo/symfony8 reset-demo).
Smoke check (boot + HTTP 200):
Documentation
- Installation
- Configuration
- Usage
- Contributing
- Code of Conduct
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- Usage: standard Symfony host
- Usage: DDD / hexagonal host
- Multitenant workflows (1.15: per-organization definitions, versions, guards, audit)
- Concurrency (safe concurrent applies, conflict codes, REQ-RUNTIME-003)
- Architecture (ports, SPI, events, standard Symfony and DDD hosts, REQ-ARCH-001)
- Templates (UiKit page contract)
- PSR evaluation (REQ-CS-007)
- Demo with FrankenPHP
- FrankenPHP worker audit (no kernel reset)
- GitHub Actions CI requirements
Tests and coverage
| Area | Coverage / status |
|---|---|
| PHP | 100% (statement coverage gate: make coverage-check and composer test-coverage-100 in CI) |
| TS/JS | N/A (the only shipped script, src/Resources/public/js/nowo-workflow.js, is hand-written and has no Vitest suite; the admin UI is exercised by the demo Playwright e2e under demo/symfony8/e2e) |
| Python | N/A |
Tests summary: PHPUnit unit and integration suites (tests/Unit, tests/Integration).
All versions of workflow-bundle with dependencies
doctrine/doctrine-bundle Version ^2.13 || ^3.2.4
doctrine/orm Version ^3.7
nowo-tech/form-kit-bundle Version ^2.16
nowo-tech/migrations-kit-contracts Version ^1.0
nowo-tech/transaction-contract Version ^1.0
nowo-tech/transaction-doctrine Version ^1.6
nowo-tech/ui-kit-bundle Version ^2.68
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/form Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/routing Version ^7.4 || ^8.0
symfony/security-csrf Version ^7.4 || ^8.0
symfony/translation Version ^7.4 || ^8.0
symfony/twig-bundle Version ^7.4 || ^8.0
symfony/validator Version ^7.4 || ^8.0
symfony/workflow Version ^7.4 || ^8.0
symfony/yaml Version ^7.4 || ^8.0
twig/extra-bundle Version ^3.12
twig/string-extra Version ^3.12