PHPackages                             polysource/workflow-bridge - 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. polysource/workflow-bridge

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

polysource/workflow-bridge
==========================

Polysource — Symfony Workflow bridge: auto-generates inline transition actions + state chips for resources with a Workflow attached.

v0.9.0(2mo ago)04MITPHP &gt;=8.1

Since May 8Compare

[ Source](https://github.com/polysource/workflow-bridge)[ Packagist](https://packagist.org/packages/polysource/workflow-bridge)[ Docs](https://github.com/polysource/polysource)[ RSS](/packages/polysource-workflow-bridge/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (10)Versions (26)Used By (0)

polysource/workflow-bridge
==========================

[](#polysourceworkflow-bridge)

> Symfony Workflow integration for Polysource — auto-generated transition buttons + state chip per resource.

Part of the [Polysource](https://github.com/polysource/polysource) monorepo. MIT-licensed.

When to use
-----------

[](#when-to-use)

You're modelling an ecommerce / CRM / claims / HR / regulated workflow with `symfony/workflow` and want the admin UI to expose only the transitions actually enabled by the workflow guards. This package wraps Symfony's `Workflow\Registry` into auto-generated Polysource actions and a state chip Twig helper.

See [ADR-021](../../docs/adr/0021-symfony-workflow-bridge.md). Separate package so `polysource/symfony-bundle` doesn't pull `symfony/workflow` for hosts that don't use it.

What it ships
-------------

[](#what-it-ships)

- **`WorkflowAwareInterface`** + **`WorkflowAwareTrait`** — opt-in marker for resources.
- **`WorkflowResolver`** — wraps Symfony Workflow `Registry` with graceful null-on-failure.
- **`TransitionDiscovery`** — delegates to `Workflow::getEnabledTransitions()` (guards natifs Symfony intacts).
- **`ApplyTransitionAction`** — auto-generated per transition, granular permission `POLYSOURCE_WORKFLOW_TRANSITION_`, `TransitionException` → `ActionResult::failure`.
- **`WorkflowChipPalette`** + **`WorkflowChipExtension`** Twig (`polysource_workflow_chip_palette()` + `polysource_workflow_state_label()`).
- `_state_chip.html.twig` partial Bootstrap.
- Config `polysource_workflow_bridge.palettes..` with wildcard fallback.

Audit log (ADR-020) traces every transition for free (`actionName=transition-`).

Install
-------

[](#install)

```
composer require polysource/workflow-bridge symfony/workflow
```

Register the bundle:

```
return [
    Polysource\WorkflowBridge\PolysourceWorkflowBridgeBundle::class => ['all' => true],
];
```

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

[](#documentation)

- [Workflow-bridge walkthrough](../../docs/user/workflow-bridge/)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance86

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

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

Every ~0 days

Total

25

Last Release

68d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41d53ab82016651b0a4a9ef71644a54f934d8bf54ccbc59fc0183f994213ef38?d=identicon)[samaym](/maintainers/samaym)

---

Tags

symfonyworkflowstate-machinetransitionspolysource

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polysource-workflow-bridge/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

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

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

9421.6k64](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.7k5](/packages/chameleon-system-chameleon-base)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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