Overview

Summary

Dotkernel Queue is a Symfony Messenger-based component that lets Mezzio and Laminas applications hand off slow or unreliable work to background workers instead of processing it inline.

Details

Dotkernel Queue is a component based on Symfony Messenger that is used to queue asynchronous tasks. netglue/laminas-messenger is an adapter that integrates Symfony Messenger with the Laminas Service Manager container for Mezzio/Laminas applications.

Some everyday operations are time-consuming and resource-intensive, so it's best if they run on separate machines, decoupled from the regular request-response cycle. Asynchronous execution performed by background workers ensures that these operations won't overload the main platform. It allows the main platform to return a response and remain responsive for new requests, while tasks with long execution times are scheduled to run later.

Queue process

Badges

OSS Lifecycle PHP from Packagist (specify version)

GitHub issues GitHub forks GitHub stars GitHub license

Build Status codecov Qodana PHPStan

FAQ

Q: What is Dotkernel Queue built on?

A: It's based on Symfony Messenger, integrated into Mezzio/Laminas applications through the netglue/laminas-messenger adapter for the Laminas Service Manager container.

Q: Why run tasks asynchronously instead of inline?

A: Time-consuming or resource-intensive operations would otherwise block the request-response cycle; running them on background workers keeps the main platform responsive to new requests.

Q: Where can I find the project's build and license status?

A: See the badges above, which link to the GitHub issues, forks, stars, license, CI, code coverage, and static analysis pages for the dotkernel/queue repository.

On this page