PHPackages                             gplanchat/durable-bridge-temporal - 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. gplanchat/durable-bridge-temporal

ActiveLibrary[Queues &amp; Workers](/categories/queues)

gplanchat/durable-bridge-temporal
=================================

Temporal journal EventStore + worker (gRPC only, no Temporal PHP SDK) for gplanchat/durable

00PHP

Since Apr 8Pushed 2mo agoCompare

[ Source](https://github.com/gplanchat/durable-bridge-temporal)[ Packagist](https://packagist.org/packages/gplanchat/durable-bridge-temporal)[ RSS](/packages/gplanchat-durable-bridge-temporal/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

`gplanchat/durable-bridge-temporal` (`src/Bridge/Temporal`)
===========================================================

[](#gplanchatdurable-bridge-temporal-srcbridgetemporal)

**gRPC** bridge (without the official Temporal PHP SDK) to persist the Durable journal in a **minimal Temporal workflow**.

PHP namespace: **`Gplanchat\Bridge\Temporal`**.

**Deployment invariant**: when Temporal is enabled for Durable, the **journal** (`EventStore`) and **application queues** share the **same** Temporal connection (`temporal://…`). **Access mode** (journal receive-only vs application envelope) is selected via **`options.purpose`** (`journal` | `application`) or inferred (presence of **`inner`** ⇒ application). Schemes **`temporal-journal://`** and **`temporal-application://`** are still accepted and normalized to **`temporal://`**.

Requirements
------------

[](#requirements)

- PHP **ext-grpc**
- A reachable Temporal frontend (e.g. `host:7233`)

Components
----------

[](#components)

ClassRole`TemporalJournalEventStore`Implements `Gplanchat\Durable\Store\EventStoreInterface``TemporalTransportFactory`Single **`temporal://`** factory: journal (`TemporalJournalTransport`, receive-only) or application (`TemporalApplicationTransport` + `inner`) from `purpose` / `inner``TemporalJournalTransport`Symfony Messenger **receive-only** transport (same `temporal://…` DSN, no `inner` by default); consumed with `messenger:consume ``TemporalApplicationTransport`Wraps a real Messenger transport (`temporal://…?inner=…` or `options.inner`) for Durable application messages`TemporalBridgeBundle`Registers the `temporal://` Messenger factoryTransport DSN (single scheme)
-----------------------------

[](#transport-dsn-single-scheme)

```
temporal://127.0.0.1:7233?namespace=default&journal_task_queue=durable-journal&tls=0

```

Query parameters: `namespace`, `task_queue` or `journal_task_queue`, `workflow_type`, `workflow_task_queue`, `activity_task_queue`, `identity`, `tls` (bool).

### Journal (receive-only)

[](#journal-receive-only)

Without **`inner`** and without `options.purpose=application`, the transport is **`TemporalJournalTransport`**.

### Application queues (`inner`)

[](#application-queues-inner)

```
temporal://127.0.0.1:7233?namespace=default&inner=in-memory://&workflow_task_queue=durable-workflows&activity_task_queue=durable-activities&tls=0

```

Or `temporal://…` without `inner` in the URL and **`options: { purpose: application, inner: 'in-memory://' }`** in Messenger config.

- **`inner`** (required for application mode): DSN of the real Symfony Messenger transport (Redis, Doctrine, in-memory, etc.).
- **`workflow_task_queue`** / **`activity_task_queue`**: used for gRPC evolution; while the envelope delegates to **`inner`**, application traffic uses that inner transport.

Symfony
-------

[](#symfony)

1. In the monorepo the code lives under `src/Bridge/Temporal`; in a split repo: `composer require gplanchat/durable-bridge-temporal`.
2. Register `Gplanchat\Bridge\Temporal\TemporalBridgeBundle` in the kernel.
3. `framework.messenger.transports.: 'temporal://…'` (without `inner`, journal DSN — e.g. `journal_task_queue=durable-journal`).
4. `messenger:consume ` (standard Symfony worker; poll and journal task handling are inside `TemporalJournalTransport::get()`).
5. Wire `EventStoreInterface` to `TemporalJournalEventStore` where appropriate (explicit DI).

FrankenPHP worker
-----------------

[](#frankenphp-worker)

Same idea as `messenger:consume`: run the Messenger worker under FrankenPHP worker mode (or systemd) with `messenger:consume ` pointing at `temporal://…` without `inner`.

License
-------

[](#license)

**MIT** — see [`LICENSE`](LICENSE) in this directory and [WA004](../../../documentation/wa/WA004-mit-license-distribution.md).

Further reading
---------------

[](#further-reading)

- **DUR019** — Temporal gRPC bridge and journal: [`documentation/adr/DUR019-temporal-grpc-bridge-and-journal.md`](../../../documentation/adr/DUR019-temporal-grpc-bridge-and-journal.md)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/144109625f8029112d56f43d08120cf03a0918ea3b4fd59ab53f09b02f630b00?d=identicon)[gplanchat](/maintainers/gplanchat)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gplanchat-durable-bridge-temporal/health.svg)

```
[![Health](https://phpackages.com/badges/gplanchat-durable-bridge-temporal/health.svg)](https://phpackages.com/packages/gplanchat-durable-bridge-temporal)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M29](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M507](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[jayazhao/think-queue-rabbitmq

为 ThinkPHP5.1 队列增加 RabbitMQ 驱动

141.5k](/packages/jayazhao-think-queue-rabbitmq)

PHPackages © 2026

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