PHPackages                             jeremka/write-async-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. jeremka/write-async-bundle

ActiveSymfony-bundle

jeremka/write-async-bundle
==========================

Seamless async write operations for API Platform (ORM &amp; ODM)

v0.1.0(11mo ago)1129↓60.5%MITPHPPHP ^8.2

Since May 25Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/jeremka/WriteAsyncBundle)[ Packagist](https://packagist.org/packages/jeremka/write-async-bundle)[ RSS](/packages/jeremka-write-async-bundle/feed)WikiDiscussions main Synced 1mo ago

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

WriteAsync Bundle
=================

[](#writeasync-bundle)

A bundle for **API Platform 3 / Symfony 6.4** that ships your write operations (POST, PUT, PATCH) to **Symfony Messenger**

---

Why?
----

[](#why)

- You don’t want the HTTP request to wait for a `flush()` that isn’t critical
    (view counters, logs, “seen” flags, …).
- You just want to say: **“Take this payload, deal with it later.”**

---

Quick install
-------------

[](#quick-install)

```
composer require jeremka/write-async-bundle
```

Make sure you have (at least) one Messenger transport:

```
#messenger.yaml

framework:
messenger:
transports:
low_priority: '%env(MESSENGER_LOW_DSN)%'
```

Change the default transport (optional):

write\_async.yaml
=================

[](#write_asyncyaml)

```
write_async:
default_transport: low_priority
```

Enable it on a route
--------------------

[](#enable-it-on-a-route)

1. extraProperties (one-liner)

```
#[Patch(
uriTemplate: '/posts/{id}',
extraProperties: [
'write_async' => true,
'transport'   => 'low_priority' // optionnel
],
status: 202,
output: false
)]
class Post {}
```

OR

2. Detached attribute

```
use Jeremka\WriteAsyncBundle\Attribute\WriteAsyncPatch;

#[WriteAsyncPatch('/posts/{id}', transport: 'low_priority')]
class Post {}
```

And… that’s it!

No DTO, no custom handler:

- API Platform still handles validation, deserialization, and security voters.
- The bundle intercepts the write phase, builds an AsyncWriteMessage, and dispatches it to the queue.
- The client instantly receives 202 Accepted.
- A Messenger worker reloads the entity later, applies the diff, and performs the real flush().

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance50

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12496eff947892219bb8ad6f6df1e4a46ea7368b5fd943a5929f74d99ed8b3a3?d=identicon)[Jeremka](/maintainers/Jeremka)

### Embed Badge

![Health badge](/badges/jeremka-write-async-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jeremka-write-async-bundle/health.svg)](https://phpackages.com/packages/jeremka-write-async-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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