Provide Laravel Horizon inside your OctoberCMS application.
Minimal requirement : OctoberCMS 1.1.x
Requirement : Redis queue and PHP >=7.2
- Check if your php version in your composer.json require is
>=7.2
- Install laravel horizon trough composer
composer require laravel/horizon "^3.5"
- Publish the laravel horizon assets
php artisan horizon:assets
- Install this plugin
- Edit the config file
config/horizon.php
- see here - 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
Horizon provides a queue usage graph, if you want use them you need to have the October CMS scheduler cron correctly configured.
You can enable dark mode in your .env file: ENABLE_HORZION_DARK_MODE=true