This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A full-lifecycle queue jobs watcher for Laravel 5.1+

dev-master 2016-12-09 12:43 UTC

This package is not auto-updated.

Last update: 2021-09-18 03:15:27 UTC


A full-lifecycle queue jobs watcher for Laravel 5.1+

Build Status Scrutinizer Code Quality Code Coverage


Add package dependency to your project's composer.json file:

"require": {
    "maqe/laravel-qwatcher": "dev-master"

Run composer update:

composer update maqe/laravel-qwatcher

Add package's service provider to your project's config/app.php:

'providers' => array(

Add package's class aliases to your project's config/app.php:

'aliases' => array(
    'Qwatcher'  => Maqe\Qwatcher\Facades\Qwatch::class,

You can publish the migration with:

php artisan vendor:publish --provider="Maqe\Qwatcher\QwatcherServiceProvider" --tag="migrations"

After the migration has been published you can create the media-table by running the migrations:

php artisan migrate


In your PHP project

Once Qwatcher is included in your project you may add it to any class by simply using the trait.

For example:

use Maqe\Qwatcher\Traits\WatchableDispatchesJobs;

class Example {
    use WatchableDispatchesJobs;

    public function someMethod() {
        // WatchableDispatchesJobs trait allowed you to add additional info as an optional
        $this->dispatch(new Jobs(), array('key_addition_info1' => 'value_addition_info1'));


laravel-qwatcher is released under the MIT License.