Skip to content

Commit 881f853

Browse files
authored
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. ```
1 parent 1f5cfb2 commit 881f853

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipe/laravel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ function laravel_version_compare($version, $comparator)
204204
desc('Terminates the master supervisor so it can be restarted');
205205
task('artisan:horizon:terminate', artisan('horizon:terminate'));
206206

207+
desc('Publish all of the Horizon resources');
208+
task('artisan:horizon:publish', artisan('horizon:publish'));
209+
207210
/*
208211
* Telescope.
209212
*/

0 commit comments

Comments
 (0)