Skip to main content
Version: 7.x

laravel

Source

Configuration

shared_dirs

Source

Overrides shared_dirs from recipe/deploy/shared.php.

Default value
['storage']

shared_files

Source

Overrides shared_files from recipe/deploy/shared.php.

Default value
['.env']

writable_dirs

Source

Overrides writable_dirs from recipe/deploy/writable.php.

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

Default value
'storage/logs/*.log'

laravel_version

Source

Tasks

artisan:down

Source

Puts the application into maintenance / demo mode.

artisan:up

Source

Brings the application out of maintenance mode.

artisan:​key:generate

Source

Sets the application key.

artisan:passport:keys

Source

Creates the encryption keys for API authentication.

artisan:db:seed

Source

Seeds the database with records.

artisan:migrate

Source

Runs the database migrations.

artisan:migrate:fresh

Source

Drops all tables and re-run all migrations.

artisan:migrate:rollback

Source

Rollbacks the last database migration.

artisan:migrate:status

Source

Shows the status of each migration.

artisan:cache:clear

Source

Flushes the application cache.

artisan:config:cache

Source

Creates a cache file for faster configuration loading.

artisan:config:clear

Source

Removes the configuration cache file.

artisan:event:cache

Source

Discovers and cache the application\'s events and listeners.

artisan:event:clear

Source

Clears all cached events and listeners.

artisan:event:list

Source

Lists the application\'s events and listeners.

artisan:optimize

Source

Cache the framework bootstrap files.

artisan:optimize:clear

Source

Removes the cached bootstrap files.

artisan:route:cache

Source

Creates a route cache file for faster route registration.

artisan:route:clear

Source

Removes the route cache file.

artisan:route:list

Source

Lists all registered routes.

Source

Creates the symbolic links configured for the application.

artisan:view:cache

Source

Compiles all of the application\'s Blade templates.

artisan:view:clear

Source

Clears all compiled view files.

artisan:queue:failed

Source

Lists all of the failed queue jobs.

artisan:queue:flush

Source

Flushes all of the failed queue jobs.

artisan:queue:restart

Source

Restarts queue worker daemons after their current job.

artisan:horizon

Source

Starts a master supervisor in the foreground.

artisan:horizon:clear

Source

Deletes all of the jobs from the specified queue.

artisan:horizon:continue

Source

Instructs the master supervisor to continue processing jobs.

artisan:horizon:list

Source

Lists all of the deployed machines.

artisan:horizon:pause

Source

Pauses the master supervisor.

artisan:horizon:purge

Source

Terminates any rogue Horizon processes.

artisan:horizon:status

Source

Gets the current status of Horizon.

artisan:horizon:terminate

Source

Terminates the master supervisor so it can be restarted.

artisan:​telescope:clear

Source

Clears all entries from Telescope.

artisan:​telescope:prune

Source

Prunes stale entries from the Telescope database.

deploy

Source

Deploys your project.

Main deploy task.

This task is group task which contains next tasks:



Support Deployer ❀️

Hello, my name is Anton Medvedev (@antonmedv). I'm the creator of the Deployer. I maintain this open source project in my spare time. Supporters on GitHub give me extra motivation to work on the project.

Consider supporting Deployer via GitHub Sponsors.

Also, please, nominate me for GitHub Stars award. Thanks!