From 881f853a07fae7d811440d2ccc174e94a9115efd Mon Sep 17 00:00:00 2001 From: Vladimir Varlamov Date: Sun, 8 Jan 2023 01:43:14 +0300 Subject: [PATCH] Laravel recipe: Add horizon publish command (#3425) One of base command to publish your application with Horizon ``` $ php artisan horizon:publish Copied Directory [/vendor/laravel/horizon/public] To [/public/vendor/horizon] Publishing complete. ``` --- recipe/laravel.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/laravel.php b/recipe/laravel.php index 735d0240c..574121f74 100644 --- a/recipe/laravel.php +++ b/recipe/laravel.php @@ -204,6 +204,9 @@ function laravel_version_compare($version, $comparator) desc('Terminates the master supervisor so it can be restarted'); task('artisan:horizon:terminate', artisan('horizon:terminate')); +desc('Publish all of the Horizon resources'); +task('artisan:horizon:publish', artisan('horizon:publish')); + /* * Telescope. */