PHPackages                             mohamedmohamedhekal/flowforge - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. mohamedmohamedhekal/flowforge

Abandoned → [mohamedhekal/flowforge](/?search=mohamedhekal%2Fflowforge)Library[Queues &amp; Workers](/categories/queues)

mohamedmohamedhekal/flowforge
=============================

Embeddable Laravel workflow engine: linear definitions, allowlisted actions, delays, and run history

v0.1.0(1mo ago)00MITPHPPHP ^8.2CI passing

Since Jul 16Pushed 1mo agoCompare

[ Source](https://github.com/mohamedhekal/flowforge)[ Packagist](https://packagist.org/packages/mohamedmohamedhekal/flowforge)[ Docs](https://github.com/mohamedhekal/flowforge)[ RSS](/packages/mohamedmohamedhekal-flowforge/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (12)Versions (2)Used By (0)

FlowForge
=========

[](#flowforge)

[![CI](https://github.com/mohamedhekal/flowforge/actions/workflows/tests.yml/badge.svg)](https://github.com/mohamedhekal/flowforge/actions)[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP](https://camo.githubusercontent.com/c2588b5670f2c910b8cc849ace22a22efda8956b7c2f797d11d2096bbfc7b1f5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d3737374242342e737667)](https://www.php.net/)[![Laravel](https://camo.githubusercontent.com/b38aa2ff655206bfa9f97c1aeced06f25bb3e31fb085fa974c79934c25469f41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d313125324631322d4646324432302e737667)](https://laravel.com/)

**Search terms:** laravel, workflow, automation, rules, erp, queue, php, laravel-package, workflow-engine, business-process, orchestration.

Embeddable Laravel workflow engine for ERP/CRM/OMS automation: versioned linear definitions, allowlisted actions, delays, and durable run history.

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

[](#installation)

```
composer require mohamedhekal/flowforge
php artisan vendor:publish --tag=flowforge-config
php artisan migrate
```

Publish a workflow
------------------

[](#publish-a-workflow)

```
use Hekal\FlowForge\Facades\FlowForge;

FlowForge::publish('Order notify', [
    'steps' => [
        [
            'key' => 'log',
            'type' => 'action',
            'action' => 'log',
            'params' => ['message' => 'order received'],
        ],
        [
            'key' => 'wait',
            'type' => 'delay',
            'seconds' => 60,
        ],
        [
            'key' => 'hook',
            'type' => 'action',
            'action' => 'webhook',
            'params' => ['url' => 'https://example.test/hooks/order'],
        ],
    ],
], slug: 'order-notify');
```

Start a run
-----------

[](#start-a-run)

```
$run = FlowForge::start('order-notify', ['order_id' => 42]);
// Continues via ContinueWorkflowRunJob (sync in tests; queue in production)
```

Custom actions
--------------

[](#custom-actions)

Actions are allowlisted. Register in config or at runtime:

```
FlowForge::extend('reserve-stock', ReserveStockAction::class);
```

Built-ins: `log`, `webhook`, `noop`.

Limitations (v0.1)
------------------

[](#limitations-v01)

- Linear steps only (no branching / parallel)
- No approval gates
- No visual builder
- Delays use queued job delay; sync driver runs immediately

Testing
-------

[](#testing)

```
composer install && composer test
```

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9d7c092a109fe780c7efd87ce4142eae2c0cec0f92fd1e87e769bec5661953b?d=identicon)[mohamedhekal](/maintainers/mohamedhekal)

---

Top Contributors

[![mohamedhekal](https://avatars.githubusercontent.com/u/21014387?v=4)](https://github.com/mohamedhekal "mohamedhekal (4 commits)")

---

Tags

automationerplaravellaravel-packagephpworkflowphplaravelautomationlaravel-packagequeueworkflowrulesworkflow engineERPorchestrationbusiness-process

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mohamedmohamedhekal-flowforge/health.svg)

```
[![Health](https://phpackages.com/badges/mohamedmohamedhekal-flowforge/health.svg)](https://phpackages.com/packages/mohamedmohamedhekal-flowforge)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3365.5M359](/packages/psalm-plugin-laravel)[laravel/scout

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

1.7k59.5M712](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k17.6M165](/packages/laravel-pulse)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45945.2k1](/packages/pressbooks-pressbooks)[flat3/lodata

OData v4.01 Producer for Laravel

101362.9k](/packages/flat3-lodata)[illuminate/broadcasting

The Illuminate Broadcasting package.

7227.7M254](/packages/illuminate-broadcasting)

PHPackages © 2026

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