Download the PHP package willypelz/queue-monitor without Composer
On this page you can find all versions of the php package willypelz/queue-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package queue-monitor
Queue Monitor
A powerful Laravel queue monitoring package with database driver support, advanced metrics, and operational controls.
Better than Horizon - Full database driver support, advanced controls, lightweight, and easy to install.
Table of Contents
- Features
- Installation
- Quick Start
- Configuration
- Usage
- API Documentation
- Comparison with Horizon
- Requirements
- Documentation
- Contributing
- License
Features
- 📊 Real-time Dashboard - Monitor queue jobs with live updates
- 🎛️ Operational Controls - Pause, resume, throttle, and retry queues
- 📈 Rich Metrics - Track job success rates, runtime, and failures
- 💾 Database Driver Support - Full support for database queue driver
- 🚀 Performance Optimized - Indexed queries and efficient data retention
- 🔒 Secure - Customizable middleware for dashboard protection
Installation
Quick Install
That's it! Visit http://your-app.test/queue-monitor to see your dashboard.
✅ Auto-Discovery: This package supports Laravel's auto-discovery feature. The service provider is automatically registered when you install the package.
🔒 HTTPS Ready: All external resources use HTTPS to prevent mixed-content blocking. Works seamlessly with secure applications.
Manual Installation
Install the package via Composer:
Publish the configuration and migrations:
Or publish individually:
Run the migrations:
Configuration
The configuration file is published to config/queue-monitor.php:
Storage Drivers
Database Driver (Default)
- Persistent storage
- SQL queries supported
- Best for moderate volume
Redis Driver (High Performance)
- 20x faster than database
- Perfect for high-volume queues
- Memory-based with TTL expiration
- See Redis Driver Guide for details
Securing the Dashboard
Add authentication middleware to protect the dashboard:
Or create custom middleware for role-based access:
Usage
Accessing the Dashboard
Once installed, visit the dashboard at:
Dashboard Features
- Stats Overview: View total, processed, failed, and processing jobs
- Average Runtime: Monitor job performance
- Recent Jobs: See the latest job executions
- Queue Controls: Pause, resume, throttle, or retry queues
Queue Controls
Pause Queue
Temporarily stop processing jobs on a specific queue:
Resume Queue
Resume a paused queue:
Throttle Queue
Limit the number of jobs processed per minute:
Retry Failed Jobs
Retry all failed jobs on a queue:
Programmatic Usage
You can also interact with the queue monitor programmatically:
Pruning Old Records
Keep your database clean by pruning old job records:
Schedule automatic pruning in app/Console/Kernel.php:
Driver Comparison
Choose the right storage driver for your needs:
| Feature | Database Driver | Redis Driver |
|---|---|---|
| Performance | ~10ms per job | ~0.5ms per job (20x faster) |
| Throughput | 200 jobs/sec | 5,000+ jobs/sec |
| Storage | Persistent (disk) | Memory with TTL |
| Data Retention | Permanent | Configurable expiration |
| Queries | Full SQL support | Key-value only |
| Setup | Requires migrations | No migrations needed |
| Best For | Low-medium volume, SQL analytics | High volume, real-time updates |
| Memory Usage | Database storage | RAM (1-5 KB per job) |
When to Use Redis
✅ Processing 1000+ jobs per minute ✅ Multiple servers sharing monitoring data ✅ Real-time dashboard updates required ✅ Want to reduce database load ✅ Already using Redis for cache/queues
When to Use Database
✅ Low to medium job volume ✅ Need permanent data storage ✅ SQL queries for reporting ✅ Single server deployment ✅ Compliance/audit requirements
To use database driver instead:
See Redis Driver Guide for detailed comparison and migration instructions.
API Endpoints
All API endpoints are prefixed with /queue-monitor/api:
| Method | Endpoint | Description |
|---|---|---|
| GET | /stats |
Get dashboard statistics |
| GET | /jobs |
Get recent jobs |
| POST | /control/pause |
Pause a queue |
| POST | /control/resume |
Resume a queue |
| POST | /control/throttle |
Throttle a queue |
| POST | /control/retry |
Retry failed jobs |
Comparison with Horizon
| Feature | Queue Monitor | Horizon |
|---|---|---|
| Database Driver | ✅ Full support | ❌ Redis only |
| Custom Controls | ✅ Pause, throttle, retry | ⚠️ Limited |
| Lightweight | ✅ Minimal overhead | ❌ Heavy |
| Easy Installation | ✅ Composer only | ⚠️ Requires config |
| Real-time UI | ✅ Vue 3 | ✅ Vue 2 |
| Metrics Depth | ✅ Rich stats | ✅ Rich stats |
| Open Source | ✅ MIT | ✅ MIT |
Requirements
- PHP 8.1 or higher
- Laravel 10.x, 11.x, or 12.x
- Database (MySQL, PostgreSQL, SQLite, etc.) or Redis
Documentation
- Installation Guide - Detailed installation instructions
- Redis Driver Guide - NEW! High-performance Redis storage
- Queue Controls - Pause, resume, throttle, and retry
- API Documentation - RESTful API endpoints
- Middleware Setup - Job middleware configuration
- Security Considerations - HTTPS, mixed-content prevention, and access control
- API Endpoint Fix - Fix blocked:mixed-content for API calls
- Advanced Features - Performance optimization, alerting, and more
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
Changelog
Please see CHANGELOG.md for recent changes.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Author: Willy Pelz
- Inspired by: Laravel Horizon, romanzipp/laravel-queue-monitor
- Built with: Laravel, Vue.js 3, Tailwind CSS
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: docs/
License
This package is open-sourced software licensed under the MIT license.
Made with ❤️ for the Laravel community
All versions of queue-monitor with dependencies
illuminate/cache Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/events Version ^10.0|^11.0|^12.0
illuminate/queue Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/view Version ^10.0|^11.0|^12.0