mmoreram/gearman-bundle
Mmoreram GearmanBundle integrates Gearman with Symfony to run background jobs and asynchronous tasks. It helps define workers, manage job queues, and dispatch work from your PHP application using simple configuration and service-based worker definitions.
console command surface. In a Laravel codebase it is not droppable — we would be porting it. This directly supports a "do not adopt / adopt Symfony Messenger or Laravel queues instead" decision if our stack is Laravel.gearman-job-server plus installing/maintaining the PECL gearman extension. That is real operational surface the PM must budget for in the same breath as the dependency — it is not a pure composer require.doctrine/annotations to 2.0 and refactors the bundle's annotation handling to fit it, contributed by a first-time contributor. Two PM-relevant reads: (a) the project is alive — someone is paying down dependency debt, which is a mild positive for the "willing to own it" trade; (b) the direction of travel is keeping the annotation ecosystem working, not migrating worker discovery to native PHP 8 attributes first. 237 stars, effectively no downstream dependents — this remains a risk-register entry, not a platform bet.doctrine/annotations to 2.x is a major-version graph change: it can collide with older Symfony versions or with apps still pinned to the 1.x annotation surface, and it forces composer update churn on any legacy system we point it at. Nothing in the release changes the public job/worker API, so it does not change our build-vs-buy math — it changes our upgrade-risk line item if we ever revive a Gearman-based legacy app.Adopt-consider criteria (all should hold):
composer.json — "Symfony2" in the description is historical, not current, and must be verified rather than assumed. After v5.1.1, also verify the doctrine/annotations ^2 constraint lands inside our dependency graph.Look elsewhere when:
gearman extension must be installed and rebuilt across PHP upgrades and container images; on some hosting platforms this is painful or impossible. If the team cannot own that, stop here.One-liner for executives: A small, MIT-licensed Symfony add-on that lets us push slow work out of the user's request and onto background workers using Gearman — it saves integration effort, but it only makes sense if Gearman is already our queue, and it adds a server and a PHP extension to operate.
The recommendation in three parts:
doctrine/annotations 2.0 bump plus refactor — not a feature investment, so it changes nothing about that recommendation.gearman-job-server in every environment, the PECL extension in every image and CI job, annotation/PHP-version pinning that now includes doctrine/annotations 2.x, and a named owner for the dependency given its thin downstream adoption. Cheap to try, non-trivial to depend on.For engineering: Convention over configuration for worker definitions and a console-driven worker lifecycle — fast to prototype, familiar Symfony idioms, no framework fight. The 5.1.1 bump confirms active maintenance but also confirms annotations remain the discovery mechanism; verify supported Symfony/PHP versions and PECL extension availability before we commit a sprint, and prefer native attributes where the bundle allows them.
How can I help you explore Laravel packages today?