enqueue/job-queue
Enqueue Job Queue is a transport-agnostic PHP job queue component that adds higher-level features like unique jobs, sub-jobs, dependent jobs, and more. Built on top of Enqueue transports; includes docs, community support, and MIT license.
Messenger) is compatible with Enqueue’s transports, making this a strong fit for extending Laravel’s job queue capabilities.after()/before() logic).Illuminate\Queue\Worker to use Enqueue’s job processing.Message interface).enqueue/redis, enqueue/doctrine). May require Docker/container adjustments for production.ShouldQueue and be serializable. Enqueue jobs require MessageInterface. May need wrapper classes.JobProcessed) may require custom event listeners.php artisan queue:work with Enqueue’s workers (e.g., enqueue:consume).JobInterface or converted to Enqueue’s Message format.config/queue.php or a custom provider.jobs table.symfony/messenger as a bridge to integrate Enqueue with Laravel’s queue system. Example:
// config/queue.php
'connections' => [
'enqueue' => [
'driver' => 'enqueue',
'dsn' => env('ENQUEUE_DSN', 'redis://localhost'),
'options' => [
'transport' => EnqueueRedis::class,
],
],
],
composer.json and configure a single transport (e.g., Redis).Enqueue\Job\JobInterface.JobProcessed).ShouldQueue can be adapted with minimal changes:
use Enqueue\Job\JobInterface;
class MyJob implements ShouldQueue, JobInterface {
public function handle() { ... }
// Implement Enqueue's serialize/deserialize methods.
}
spatie/queue-scheduler).JobInterface or wrap them.enqueue/redis) require updates. Use composer normalize to manage version constraints.// config/logging.php
'channels' => [
'enqueue' => [
'driver' => 'single',
'path' => storage_path('logs/enqueue.log'),
'level' => 'debug',
],
],
enqueue:consume --debug) alongside Laravel’s queue:failed-table.JobFailed events to trigger Laravel notifications.How can I help you explore Laravel packages today?