Skip to content

Instantly share code, notes, and snippets.

@whoisryosuke
Last active July 15, 2020 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whoisryosuke/f96842f854f1fe5aa4af04b256b4afd8 to your computer and use it in GitHub Desktop.
Save whoisryosuke/f96842f854f1fe5aa4af04b256b4afd8 to your computer and use it in GitHub Desktop.
Laravel - Install Horizon for v5.8 -- @see: https://laravel.com/docs/5.8/horizon

The official Laravel docs don't cover exactly how to install older versions. If you try following them, you'll have issues with composer requiring higher versions of Laravel, Symfony, etc.

This assumes you're using version 5.8 of Laravel

  1. Install Horizon 3.7.2 composer dependency - composer require laravel/horizon:3.7.2
  2. Install Horizon using artisan CLI: php artisan horizon:install
  3. Make sure your .env has the QUEUE_CONNECTION set to redis.
  4. Run the server and check out the Horizon dashboard: http://localhost/horizon

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment