Search by

dereuromark / cakephp-workflow

dereuromark

State machine and workflow engine for CakePHP with PHP 8 Attributes, YAML support, and admin UI

Package info

github.com/dereuromark/cakephp-workflow

Homepage

Type:cakephp-plugin

pkg:composer/dereuromark/cakephp-workflow

Statistics

Installs: 4 347

Dependents: 1

Suggesters: 0

Stars: 3

Open Issues: 0

0.2.3 2026-10-07 16:29 UTC

README

CI codecov Latest Stable Version Minimum PHP Version License Coding Standards

See the version map for other CakePHP branches.

State machine and workflow engine for CakePHP with PHP 8 Attributes, YAML/NEON config support, and admin UI.

Tip

Try the live demo: https://sandbox.dereuromark.de/workflow-sandbox

There is also a demo app with more details to experiment with

Documentation

Follow Installation and Getting started for a persisted workflow on an existing table.

The website covers attribute and configuration-file definitions, guards, transition commands, ORM integration, logging, locking, timeouts, diagrams and the optional admin interface. Server-side SVG and PNG diagram exports require Graphviz; the in-page Mermaid widget does not.

The admin interface denies access until an application configures Workflow.adminAccess. Review authorization before exposing workflow routes.

Contributing

Run the relevant PHPUnit tests, composer cs-check and composer stan before submitting source changes. Documentation lives in docs/; run npm ci and npm run docs:build from that directory.