[Tutorial] How to install Laravel 5.5 (dev-develop) & Laravel Horizon
-
Open Terminal (Menu > Laragon > Terminal), then
- Install Laravel 5.5:
composer create-project laravel/laravel horizon dev-develop cd horizon php artisan serve
Now, open a new Terminal's Tab (Ctrl + T), then
2. Install Horizon:
Note: Horizon needs the pcntl extension so you must add it to your PHP's extension first: https://forum.laragon.org/topic/593/how-to-add-pcntl-extension-windowscomposer require laravel/horizon php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider" php artisan horizon
Olala, you can access the beautiful dashboard of Horizon at:
http://localhost:8000/horizonOf course, you can use the pretty url (after reloading Apache/Nginx) with
laragon reload
:
http://horizon.dev/horizon
-
There are better and quicker ways of installing Laravel 5.5. Use this command
composer create-project --prefer-dist laravel/laravel mylaravel
-
@azazqadir : Thanks for your information.
Laravel 5.5 has just released
-
@leokhoa when I run php artisan horizon I get the following:
Horizon started successfully.
'exec' is not recognized as an internal or external command, operable program or batch file.Within the Horizon control panel it’ll say it’s active but the job will never process, it is shown as paused in the recent jobs panel.
-
thank you for the tutorial. is there anyway to automatically start
php artisan horizon
upon server start. something similar to supervisor?
-
@Ric-Le-Poidevin This is also happening to me
-
@Ric-Le-Poidevin any luck on this? I see all the jobs in the queue but same thing, it stays paused. I also see 0 processes as well.