Download the PHP package campelo/laravel-queue-control without Composer

On this page you can find all versions of the php package campelo/laravel-queue-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-queue-control

Laravel Queue Control

Operational control for Laravel queues. Cancel jobs, clear queues, pause workers, and manage campaigns with ease.

Horizon vs Queue Control

Laravel Horizon Queue Control
Focus Observability Operational Control
Monitors queues Yes Yes
Shows metrics Yes Yes
Cancel pending jobs No Yes
Cancel by campaign No Yes
Cancel by job type No Yes
Clear queues No Yes
Pause/Resume workers No Yes

Use Horizon to watch. Use Queue Control to act.

The Problem

You dispatched 15,000 email jobs for a newsletter. Then you realized the email content was wrong. With Horizon, you can only watch them go out. With Queue Control:

Done. All pending jobs cancelled.

Requirements

Installation

Publish and migrate:

Quick Start

1. Add the trait to your jobs

2. Dispatch with campaign ID

3. Cancel when needed

Key Features

Campaigns

Campaigns let you group different job types semantically:

This is more powerful than batches because:

Queue Pause/Resume

Dashboard

Access at /queue-control:

Configuration

Environment Variables

Artisan Commands

Using the Facade

Granular Permissions

Queue Control supports fine-grained access control:

Works with:

How It Works

Job Cancellation

  1. When you cancel, the ID is stored in cache (fast) and database (persistent)
  2. Before each job runs, Queue::before checks if it's cancelled
  3. Cancelled jobs are deleted without executing

Queue Pausing

  1. Pause sets a flag in cache
  2. Workers release jobs back to queue with delay
  3. Jobs are held, not lost
  4. Resume removes the flag

API Endpoints

Method Endpoint Description
GET /api/queue-control/dashboard Dashboard stats
GET /api/queue-control/queues List queues
POST /api/queue-control/queues/{queue}/clear Clear queue
POST /api/queue-control/queues/{queue}/pause Pause queue
POST /api/queue-control/queues/{queue}/resume Resume queue
POST /api/queue-control/jobs/cancel Cancel by UUID
POST /api/queue-control/jobs/cancel-by-class Cancel by class
GET /api/queue-control/metrics Job metrics
GET /api/queue-control/batches List batches
POST /api/queue-control/batches/{id}/cancel Cancel batch

Cleanup

Schedule cleanup to remove old records:

License

MIT License. See LICENSE for details.


All versions of laravel-queue-control with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/contracts Version ^10.0|^11.0
illuminate/queue Version ^10.0|^11.0
illuminate/support Version ^10.0|^11.0
illuminate/redis Version ^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package campelo/laravel-queue-control contains the following files

Loading the files please wait ...