laravel
- Requires
- common
Configuration
shared_dirs
Overrides shared_dirs from recipe/common.php
.
```php title="Default value" ['storage']
### shared_files
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L9)
Overrides [shared_files](/docs/recipe/common.md#shared_files) from `recipe/common.php`.
```php title="Default value"
['.env']
writable_dirs
Overrides writable_dirs from recipe/deploy/writable.php
.
```php title="Default value" [ 'bootstrap/cache', 'storage', 'storage/app', 'storage/app/public', 'storage/framework', 'storage/framework/cache', 'storage/framework/sessions', 'storage/framework/views', 'storage/logs', ]
### log_files
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L21)
```php title="Default value"
'storage/logs/*.log'
laravel_version
Tasks
artisan:down
Put the application into maintenance / demo mode.
artisan:up
Bring the application out of maintenance mode.
artisan:key:generate
Set the application key.
artisan:passport:keys
Create the encryption keys for API authentication.
artisan:db:seed
Seed the database with records.
artisan:migrate
Run the database migrations.
artisan:migrate:fresh
Drop all tables and re-run all migrations.
artisan:migrate:rollback
Rollback the last database migration.
artisan:migrate:status
Show the status of each migration.
artisan:cache:clear
Flush the application cache.
artisan:config:cache
Create a cache file for faster configuration loading.
artisan:config:clear
Remove the configuration cache file.
artisan:event:cache
Discover and cache the application\'s events and listeners.
artisan:event:clear
Clear all cached events and listeners.
artisan:event:list
List the application\'s events and listeners.
artisan:optimize
Cache the framework bootstrap files.
artisan:optimize:clear
Remove the cached bootstrap files.
artisan:route:cache
Create a route cache file for faster route registration.
artisan:route:clear
Remove the route cache file.
artisan:route:list
List all registered routes.
artisan:storage:link
Create the symbolic links configured for the application.
artisan:view:cache
Compile all of the application\'s Blade templates.
artisan:view:clear
Clear all compiled view files.
artisan:queue:failed
List all of the failed queue jobs.
artisan:queue:flush
Flush all of the failed queue jobs.
artisan:queue:restart
Restart queue worker daemons after their current job.
artisan:horizon
Start a master supervisor in the foreground.
artisan:horizon:clear
Delete all of the jobs from the specified queue.
artisan:horizon:continue
Instruct the master supervisor to continue processing jobs.
artisan:horizon:list
List all of the deployed machines.
artisan:horizon:pause
Pause the master supervisor.
artisan:horizon:purge
Terminate any rogue Horizon processes.
artisan:horizon:status
Get the current status of Horizon.
artisan:horizon:terminate
Terminate the master supervisor so it can be restarted.
artisan:telescope:clear
Clear all entries from Telescope.
artisan:telescope:prune
Prune stale entries from the Telescope database.
deploy
Deploy your project.
Main deploy task.
This task is group task which contains next tasks: * deploy:prepare * deploy:vendors * artisan:storage:link * artisan:view:cache * artisan:config:cache * deploy:publish