497

Product support

Get help in the plugin support forum.

Categories

Laravel horizon plugin for OctoberCMS

Provide Laravel Horizon inside your OctoberCMS application.

Horizon provides a beautiful dashboard and code-driven configuration for your October powered Redis queues. Horizon allows you to easily monitor key metrics of your queue system such as job throughput, runtime, and job failures.

Minimal requirement : OctoberCMS 1.1.x

Setup

Requirement : Redis queue and PHP >=7.2

  1. Check if your php version in your composer.json require is >=7.2
  2. Install laravel horizon trough composer composer require laravel/horizon "^3.5"
  3. Publish the laravel horizon assets php artisan horizon:assets
  4. Install this plugin
  5. Edit the config file config/horizon.php - see here
  6. Add 'env' => env('APP_ENV', 'production'), to the file config/horizon to run the defined workers in the horizon config file
  7. run php artisan horizon

For production this command needs to be supervised by a tool like supervisord. Supervisord will take care of restarting a process when it fails.

More information about running Horizon

Graphs

Horizon provides a queue usage graph, if you want use them you need to have the October CMS scheduler cron correctly configured.

Dark mode

You can enable dark mode in your .env file: ENABLE_HORZION_DARK_MODE=true

2.0.0

!!! Add support for laravel 6. Only update to this version if you are on october 1.1.x and read the README for the new laravel horizon requirements.

Oct 05, 2020

1.0.2

Use static path for horizon icon svg

Oct 20, 2019

1.0.1

First version of Horizon

Mar 10, 2019