Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 44 additions & 36 deletions docs/recipe/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,288 +282,296 @@ Removes the cached bootstrap files.



### artisan\:route\:cache {#artisan-route-cache}
### artisan\:reload {#artisan-reload}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L158)

Reload running services.




### artisan\:route\:cache {#artisan-route-cache}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L161)

Creates a route cache file for faster route registration.




### artisan\:route\:clear {#artisan-route-clear}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L161)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L164)

Removes the route cache file.




### artisan\:route\:list {#artisan-route-list}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L164)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L167)

Lists all registered routes.




### artisan\:storage\:link {#artisan-storage-link}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L167)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L170)

Creates the symbolic links configured for the application.




### artisan\:view\:cache {#artisan-view-cache}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L170)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L173)

Compiles all of the application\'s Blade templates.




### artisan\:view\:clear {#artisan-view-clear}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L173)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L176)

Clears all compiled view files.




### artisan\:queue\:failed {#artisan-queue-failed}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L180)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L183)

Lists all of the failed queue jobs.

Queue and Horizon.


### artisan\:queue\:flush {#artisan-queue-flush}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L183)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L186)

Flushes all of the failed queue jobs.




### artisan\:queue\:restart {#artisan-queue-restart}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L186)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L189)

Restarts queue worker daemons after their current job.




### artisan\:horizon {#artisan-horizon}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L189)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L192)

Starts a master supervisor in the foreground.




### artisan\:horizon\:clear {#artisan-horizon-clear}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L192)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L195)

Deletes all of the jobs from the specified queue.




### artisan\:horizon\:continue {#artisan-horizon-continue}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L195)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L198)

Instructs the master supervisor to continue processing jobs.




### artisan\:horizon\:list {#artisan-horizon-list}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L198)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L201)

Lists all of the deployed machines.




### artisan\:horizon\:pause {#artisan-horizon-pause}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L201)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L204)

Pauses the master supervisor.




### artisan\:horizon\:purge {#artisan-horizon-purge}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L204)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L207)

Terminates any rogue Horizon processes.




### artisan\:horizon\:status {#artisan-horizon-status}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L207)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L210)

Gets the current status of Horizon.




### artisan\:horizon\:terminate {#artisan-horizon-terminate}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L210)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L213)

Terminates the master supervisor so it can be restarted.




### artisan\:horizon\:publish {#artisan-horizon-publish}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L213)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L216)

Publish all of the Horizon resources.




### artisan\:horizon\:supervisors {#artisan-horizon-supervisors}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L216)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L219)

Lists all of the supervisors.




### artisan\:horizon\:clear-metrics {#artisan-horizon-clear-metrics}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L219)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L222)

Deletes metrics for all jobs and queues.




### artisan\:horizon\:snapshot {#artisan-horizon-snapshot}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L222)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L225)

Stores a snapshot of the queue metrics.




### artisan\:schedule\:interrupt {#artisan-schedule-interrupt}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L229)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L232)

Interrupt in-progress schedule:run invocations.

Scheduler.


### artisan\:telescope\:clear {#artisan-telescope-clear}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L236)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L239)

Clears all entries from Telescope.

Telescope.


### artisan\:telescope\:prune {#artisan-telescope-prune}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L239)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L242)

Prunes stale entries from the Telescope database.




### artisan\:octane {#artisan-octane}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L246)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L249)

Starts the octane server.

Octane.


### artisan\:octane\:reload {#artisan-octane-reload}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L249)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L252)

Reloads the octane server.




### artisan\:octane\:stop {#artisan-octane-stop}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L252)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L255)

Stops the octane server.




### artisan\:octane\:status {#artisan-octane-status}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L255)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L258)

Check the status of the octane server.




### artisan\:nova\:publish {#artisan-nova-publish}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L262)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L265)

Publish all of the Laravel Nova resources.

Nova.


### artisan\:reverb\:start {#artisan-reverb-start}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L269)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L272)

Starts the Reverb server.

Reverb.


### artisan\:reverb\:restart {#artisan-reverb-restart}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L272)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L275)

Restarts the Reverb server.




### artisan\:pulse\:check {#artisan-pulse-check}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L279)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L282)

Starts the Pulse server.

Pulse.


### artisan\:pulse\:restart {#artisan-pulse-restart}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L282)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L285)

Restarts the Pulse server.




### artisan\:pulse\:purge {#artisan-pulse-purge}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L285)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L288)

Purges all Pulse data from storage.




### artisan\:pulse\:work {#artisan-pulse-work}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L288)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L291)

Process incoming Pulse data from the ingest stream.




### deploy {#deploy}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L294)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L297)

Deploys your project.

Expand Down
3 changes: 3 additions & 0 deletions recipe/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ function laravel_version_compare($version, $comparator)
desc('Removes the cached bootstrap files');
task('artisan:optimize:clear', artisan('optimize:clear'));

desc('Reload running services');
task('artisan:reload', artisan('reload'));

desc('Creates a route cache file for faster route registration');
task('artisan:route:cache', artisan('route:cache'));

Expand Down