Download the PHP package chatflowphp/automata without Composer
On this page you can find all versions of the php package chatflowphp/automata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chatflowphp/automata
More information about chatflowphp/automata
Files in chatflowphp/automata
Download chatflowphp/automata
More information about chatflowphp/automata
Files in chatflowphp/automata
Vendor chatflowphp
Package automata
Short Description Framework-agnostic orchestration engine for single-active finite state machines in PHP.
License MIT
Homepage https://github.com/chatflowphp/automata
Package automata
Short Description Framework-agnostic orchestration engine for single-active finite state machines in PHP.
License MIT
Homepage https://github.com/chatflowphp/automata
Please rate this library. Is it a good library?
Informations about the package automata
Automata
Framework-agnostic orchestration engine for single-active finite state machines in PHP.
What It Does
- Activates one automaton at a time and drives it through discrete
tick()cycles - Wraps each cycle with optional middleware
- Dispatches commands and events through a lightweight in-memory message bus
- Emits lifecycle events for activation and applied transitions
- Supports snapshot/restore for shared context and serializable automata state
What It Does Not Do
- No statechart semantics
- No parallel or multi-active automata runtime
- No built-in persistence transport or async messaging backend
Start Here
- Build your first automaton: docs/getting-started.md
- Understand orchestrator semantics: docs/snapshots.md
- Browse extension and reference docs: docs/testing.md
The full documentation hub lives at docs/index.md.
Requirements
- PHP 8.1 or newer
- Composer
Installation
Quick Start
For the guided beginner path, use simple-workflow example.
Reading Order
- Documentation Hub
- Getting Started
- Orchestrator
- Commands And Events
- Snapshots
- Context
- Extending
- Testing
Examples
Simple Workflow
simple-workflow is the shortest runnable example:
It demonstrates:
OrchestratorArrayContext- two automata
- middleware
- one transition command
- one domain event
- one listener
- snapshot and restore
Traffic Light
traffic-light is the advanced canonical demo:
It demonstrates:
- three automata connected by transitions
- middleware-driven tick counting
- domain events observed after transitions
- lifecycle events
- snapshot save, restore, and resumed execution
Read examples/traffic-light/README.md after the beginner path.
Testing
Full local quality gate:
License
This project is released under the MIT License. See LICENSE for details.
All versions of automata with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package chatflowphp/automata contains the following files
Loading the files please wait ...