kinsolee / horizon-lumen

MIT License
23 stars 12 forks source link

lumen 5.8 #4

Open hahalo opened 4 years ago

hahalo commented 4 years ago

According to the document, use "php artisan horizon", Command "horizon" is not defined.

ThaDaVos commented 4 years ago

Lumen does not load serviceproviders automatically so you'll have to add the following line to your boostrap/app.php in the providers section:

$app->register(\Laravel\Horizon\HorizonServiceProvider::class);