Download the PHP package jeremka/write-async-bundle without Composer
On this page you can find all versions of the php package jeremka/write-async-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeremka/write-async-bundle
More information about jeremka/write-async-bundle
Files in jeremka/write-async-bundle
Download jeremka/write-async-bundle
More information about jeremka/write-async-bundle
Files in jeremka/write-async-bundle
Vendor jeremka
Package write-async-bundle
Short Description Seamless async write operations for API Platform (ORM & ODM)
License MIT
Package write-async-bundle
Short Description Seamless async write operations for API Platform (ORM & ODM)
License MIT
Please rate this library. Is it a good library?
Informations about the package write-async-bundle
WriteAsync Bundle
A bundle for API Platform 3 / Symfony 6.4 that ships your write operations (POST, PUT, PATCH) to Symfony Messenger
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
Make sure you have (at least) one Messenger transport:
Change the default transport (optional):
write_async.yaml
Enable it on a route
- extraProperties (one-liner)
OR
- Detached attribute
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().
All versions of write-async-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
symfony/framework-bundle Version ^6.4
symfony/messenger Version ^6.4
symfony/property-access Version ^6.4
api-platform/core Version ^3.3
doctrine/persistence Version ^3.3
symfony/framework-bundle Version ^6.4
symfony/messenger Version ^6.4
symfony/property-access Version ^6.4
api-platform/core Version ^3.3
doctrine/persistence Version ^3.3
The package jeremka/write-async-bundle contains the following files
Loading the files please wait ....