agilukm/lumen-horizon

Commands and code-driven configuration for Lumen queues.

3.3 2020-03-02 13:05 UTC

This package is not auto-updated.

Last update: 2024-12-18 10:41:23 UTC


README

Based off https://github.com/servocoder/lumen-horizon - upgraded to 1.2.3 Horizon and Lumen 6.0 support

Tested with Lumen 6.0

Installation

The installation is almost the same as original package.

Note that the package namespace remains Laravel\Horizon, so don't install it along with original one to avoid conflicts.

  1. Composer dependency manager:
    composer require carsguide/lumen-horizon "~1.2"

Alternatively, add the dependency directly to your composer.json file:

    "require": {
        "carsguide/lumen-horizon": "~1.0"
    }
  1. Publish horizon.php file to the config folder:
    php artisan vendor:publish --tag=horizon-config

or, as suggested in the official package docs:

    php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider"

Official Documentation

Documentation for Horizon can be found on the Laravel website.

License

Laravel Horizon is open-sourced software licensed under the MIT license