PHPackages                             qanna-rsa/workflow-engine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. qanna-rsa/workflow-engine

ActiveLibrary

qanna-rsa/workflow-engine
=========================

The headless workflow execution engine for Laravel

v1.0.0(today)00MITPHPPHP ^8.1

Since Aug 6Pushed todayCompare

[ Source](https://github.com/qanna-rsa/workflow-engine)[ Packagist](https://packagist.org/packages/qanna-rsa/workflow-engine)[ RSS](/packages/qanna-rsa-workflow-engine/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

[![Workflow Engine logo](art/logo.svg)](art/logo.svg)

Workflow Engine
===============

[](#workflow-engine)

A headless workflow automation engine for Laravel. Define a trigger and a graph of nodes, store the definition as data, and run it synchronously, asynchronously, or from the command line — no bundled UI required.

```
Workflow::run('send-welcome-email', ['email' => 'ada@example.com']);
```

Features
--------

[](#features)

- **Trigger-driven execution** — Manual, Webhook, Schedule (cron), and Eloquent Model event triggers included.
- **A large built-in node library** — logic (condition, switch, loop), variables, HTTP, files, Eloquent model CRUD, math, text, date/time, and collection operations.
- **An expression language** — `{{ trigger.email }}`, `{{ nodes.query.result.first().name }}`, with a rich set of chainable helper methods.
- **Suspend and resume** — nodes like Wait and Call Workflow can pause an execution and resume it later without re-running earlier steps.
- **Pluggable storage** — file-based (git-friendly) or database-backed, configured independently for workflows and executions.
- **An interactive builder** — `php artisan workflow:build` walks you through constructing a workflow from the terminal, including a full interactive JSON builder.
- **A fluent schema API for custom nodes** — declare a node's config form with `Schema::text()`, `Schema::select()`, `Schema::group()`, and more, including fields that resolve dynamically based on earlier answers.
- **First-class testing support** — `Workflow::fake()` plus a full set of assertions.

Installation
------------

[](#installation)

```
composer require qanna-rsa/workflow-engine
php artisan vendor:publish --tag=workflowengine::config
```

See [Installation](docs/installation.md) for the full guide, including the optional database storage migrations.

Quick Start
-----------

[](#quick-start)

```
use Qanna\WorkflowEngine\Engine\Nodes\Action\LogNode;
use Qanna\WorkflowEngine\Engine\Triggers\ManualTrigger;
use Qanna\WorkflowEngine\Models\Workflow;
use Qanna\WorkflowEngine\Storage\Contracts\WorkflowRepositoryContract;

$workflow = Workflow::fromArray([
    'id' => 'send-welcome-email',
    'name' => 'Send Welcome Email',
    'trigger' => ['type' => ManualTrigger::type(), 'config' => []],
    'nodes' => [[
        'id' => 'log',
        'type' => LogNode::type(),
        'config' => ['level' => 'info', 'message' => 'Welcome {{trigger.email}}'],
    ]],
    'edges' => [['from' => 'trigger', 'to' => 'log', 'branch' => 'main']],
]);

app(WorkflowRepositoryContract::class)->create($workflow);
```

```
use Qanna\WorkflowEngine\Facades\Workflow;

Workflow::run('send-welcome-email', ['email' => 'ada@example.com']);
```

Or skip the code and build it interactively:

```
php artisan workflow:build
```

See the [Quick Start guide](docs/quickstart.md) for a walkthrough of both paths.

Documentation
-------------

[](#documentation)

Full documentation lives in [`/docs`](docs/_nav.md):

- [Introduction](docs/introduction.md) · [Installation](docs/installation.md) · [Configuration](docs/configuration.md) · [Quick Start](docs/quickstart.md)
- [Workflows](docs/concepts/workflows.md), [Workflow Definitions](docs/concepts/workflow-definitions.md), [Execution](docs/concepts/execution.md), [Expressions](docs/concepts/expressions.md)
- [Built-in Nodes](docs/nodes/built-in.md), [Custom Nodes](docs/nodes/custom-nodes.md)
- [Triggers](docs/triggers/overview.md)
- [The Interactive Builder](docs/console/workflow-build.md)
- [Testing](docs/testing/overview.md)
- [Dynamic Schema Resolution](docs/advanced/dynamic-schema.md), [Extension Points](docs/advanced/extension-points.md)

Start at [`docs/_nav.md`](docs/_nav.md) for the full table of contents.

License
-------

[](#license)

Released under the [MIT License](LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19964056?v=4)[qanna](/maintainers/qanna)[@qanna](https://github.com/qanna)

---

Tags

laravelautomationworkflowengine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/qanna-rsa-workflow-engine/health.svg)

```
[![Health](https://phpackages.com/badges/qanna-rsa-workflow-engine/health.svg)](https://phpackages.com/packages/qanna-rsa-workflow-engine)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M279](/packages/laravel-ai)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k57.2M661](/packages/laravel-scout)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

78727.1M206](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9872.4M142](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.4M352](/packages/psalm-plugin-laravel)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k26.0M740](/packages/laravel-boost)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
