aescarcha/async
Symfony bundle that listens to Doctrine entity lifecycle events (persist/update/remove) and publishes RabbitMQ jobs so heavy processing runs asynchronously. Configure via OldSoundRabbitMq and register the persist listener as consumer/event subscriber.
Adopt When:
Look Elsewhere If:
For Executives: "This package lets us offload slow, resource-intensive tasks—like syncing data or generating reports—from user-facing requests, making our app faster and more scalable. By using RabbitMQ in the background, we avoid overloading our servers during peak times, while keeping the codebase lean (no custom async infrastructure). It’s a low-risk way to handle growth without hiring more devs to optimize performance."
For Engineering/Tech Leads: *"AsyncBundle wraps Symfony’s Serializer with RabbitMQ to push heavy entity operations (e.g., post-persist transformations, external API calls) into background jobs. Key benefits:
persist, delete, etc., via listeners.For Developers:
*"This bundle lets you annotate entity methods (e.g., @Async) to run them asynchronously after CRUD operations. Example:
#[Async]
public function syncToExternalSystem(): void {
// Heavy work here—runs in the background!
}
How can I help you explore Laravel packages today?