PHPackages                             nubitio/workflow-bundle - 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. [Framework](/categories/framework)
4. /
5. nubitio/workflow-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

nubitio/workflow-bundle
=======================

Opt-in state-machine kit for Nubit Symfony apps: Workflow attribute, transition API, and x-workflow OpenAPI hints.

v0.10.3(today)01↑2900%MITPHPPHP &gt;=8.5

Since Jun 19Pushed todayCompare

[ Source](https://github.com/nubitio/workflow-bundle)[ Packagist](https://packagist.org/packages/nubitio/workflow-bundle)[ Docs](https://github.com/nubitio/nubit-symfony/tree/main/packages/workflow-bundle)[ RSS](/packages/nubitio-workflow-bundle/feed)WikiDiscussions main Synced today

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

nubitio/workflow-bundle
=======================

[](#nubitioworkflow-bundle)

Opt-in state-machine kit for Nubit Symfony apps.

Install
-------

[](#install)

```
composer require nubitio/workflow-bundle
```

Register routes (e.g. `config/routes/nubit_workflow.yaml`):

```
nubit_workflow:
    resource: '@NubitWorkflowBundle/config/workflow_routes.yaml'
```

Enable in `config/packages/nubit_workflow.yaml`:

```
nubit_workflow:
    enabled: true
```

Usage
-----

[](#usage)

```
use Nubit\WorkflowBundle\Attribute\Workflow;

#[Workflow(
    field: 'status',
    transitions: [
        'send_to_kitchen' => [
            'from' => ['open'],
            'to' => 'preparing',
            'label' => 'Enviar a cocina',
            'roles' => ['ROLE_WAITER'],
        ],
        'pay' => [
            'from' => ['served', 'open'],
            'to' => 'paid',
            'label' => 'Cobrar',
            'set' => ['paymentMethod' => 'cash'],
        ],
    ],
)]
class Order { ... }
```

Transitions are exposed as:

```
POST /api/orders/{id}/transition/{name}

```

The Hydra API doc publishes `x-workflow` so `@nubitio/react-admin` can render row actions automatically.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

Every ~0 days

Total

4

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/990211?v=4)[Johan Guerreros](/maintainers/johangm90)[@johangm90](https://github.com/johangm90)

---

Top Contributors

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

---

Tags

symfonybundleworkflowstate-machinenubit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nubitio-workflow-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nubitio-workflow-bundle/health.svg)](https://phpackages.com/packages/nubitio-workflow-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M511](/packages/shopware-core)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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