Download the PHP package ebects/laravel-roadrunner-queue without Composer
On this page you can find all versions of the php package ebects/laravel-roadrunner-queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-roadrunner-queue
🚀 Laravel RoadRunner Queue
Laravel native queue retry mechanism for RoadRunner - Get the best of both worlds: RoadRunner's performance with Laravel's elegant retry system!
🎯 The Problem
RoadRunner is amazing for Laravel Octane, but it doesn't support Laravel's native queue retry mechanism:
- ❌
$triesproperty ignored - ❌
$backoffdoesn't work - ❌
failed()method never called - ❌ No automatic retry on failure
- ❌ Jobs disappear without trace
This forces you to choose:
- Laravel Queue Worker → ✅ Retry support but ❌ zombie processes 🧟
- RoadRunner → ✅ No zombies but ❌ no retry support 😢
✨ The Solution
This package gives you BOTH:
- ✅ RoadRunner's performance & stability (no zombie processes!)
- ✅ Laravel's native retry mechanism (
$tries,$backoff,failed()) - ✅ Automatic retry with exponential backoff
- ✅ Failed job tracking & management
- ✅ Artisan commands for job management
📦 Installation
Publish config (optional):
🚀 Quick Start
Step 1: Extend RoadRunnerJob
Instead of implementing ShouldQueue, extend the base class:
Step 2: Dispatch as Normal
That's it! 🎉
🎮 Features
1. Automatic Retry with Backoff
What happens:
2. Failed Job Handler
3. Helper Methods
4. Artisan Commands
Manage failed jobs like Laravel native queue:
📖 Documentation
Configuration
The package works out of the box, but you can customize:
Advanced Usage
Custom Backoff Logic
Conditional Retry
Custom Job Identifier
🆚 Comparison
Before (Native RoadRunner)
After (With Package)
🎯 Use Cases
API Integration with Rate Limits
Database Operations with Deadlock Handling
Email Queue with Exponential Backoff
🔧 Requirements
- PHP 8.1 or higher
- Laravel 10.x or 11.x
- RoadRunner 2.x or higher
- Redis (or any Laravel cache driver)
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Running Tests
Code Style
📝 Changelog
Please see CHANGELOG for more information on what has changed recently.
🔒 Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
📄 License
The MIT License (MIT). Please see License File for more information.
🙏 Credits
- Alee Khabib
- Inspired by the need for RoadRunner + Laravel Queue harmony
- All contributors who helped make this package better
⭐ Show Your Support
If this package helped you, please consider:
- Giving it a ⭐ on GitHub
- Sharing it with your team
- Contributing improvements
Made with ❤️ for the Laravel & RoadRunner community
Keywords: laravel, roadrunner, queue, jobs, retry, octane, rabbitmq, redis, async, background-jobs
All versions of laravel-roadrunner-queue with dependencies
illuminate/support Version ^10.0|^11.0
illuminate/console Version ^10.0|^11.0
illuminate/database Version ^10.0|^11.0
illuminate/queue Version ^10.0|^11.0
illuminate/cache Version ^10.0|^11.0