deployer/docs/recipe/laravel.md
Anton Medvedev 3216576680 Add docs
2021-09-26 15:25:58 +02:00

7.4 KiB
Raw Blame History

laravel

Source

Configuration

shared_dirs

Source

Overrides shared_dirs from recipe/common.php.

['storage']

shared_files

Source

Overrides shared_files from recipe/common.php.

['.env']

writable_dirs

Source

Overrides writable_dirs from recipe/deploy/writable.php.

[
    'bootstrap/cache',
    'storage',
    'storage/app',
    'storage/app/public',
    'storage/framework',
    'storage/framework/cache',
    'storage/framework/sessions',
    'storage/framework/views',
    'storage/logs',
]

log_files

Source

'storage/logs/*.log'

laravel_version

Source

Tasks

artisan:down

Source

Put the application into maintenance / demo mode.

artisan:up

Source

Bring the application out of maintenance mode.

artisan:key:generate

Source

Set the application key.

artisan:passport:keys

Source

Create the encryption keys for API authentication.

artisan:db:seed

Source

Seed the database with records.

artisan:migrate

Source

Run the database migrations.

artisan:migrate:fresh

Source

Drop all tables and re-run all migrations.

artisan:migrate:rollback

Source

Rollback the last database migration.

artisan:migrate:status

Source

Show the status of each migration.

artisan:cache:clear

Source

Flush the application cache.

artisan:config:cache

Source

Create a cache file for faster configuration loading.

artisan:config:clear

Source

Remove the configuration cache file.

artisan:event:cache

Source

Discover and cache the application's events and listeners.

artisan:event:clear

Source

Clear all cached events and listeners.

artisan:event:list

Source

List the application's events and listeners.

artisan:optimize

Source

Cache the framework bootstrap files.

artisan:optimize:clear

Source

Remove the cached bootstrap files.

artisan:route:cache

Source

Create a route cache file for faster route registration.

artisan:route:clear

Source

Remove the route cache file.

artisan:route:list

Source

List all registered routes.

Source

Create the symbolic links configured for the application.

artisan:view:cache

Source

Compile all of the application's Blade templates.

artisan:view:clear

Source

Clear all compiled view files.

artisan:queue:failed

Source

List all of the failed queue jobs.

artisan:queue:flush

Source

Flush all of the failed queue jobs.

artisan:queue:restart

Source

Restart queue worker daemons after their current job.

artisan:horizon

Source

Start a master supervisor in the foreground.

artisan:horizon:clear

Source

Delete all of the jobs from the specified queue.

artisan:horizon:continue

Source

Instruct the master supervisor to continue processing jobs.

artisan:horizon:list

Source

List all of the deployed machines.

artisan:horizon:pause

Source

Pause the master supervisor.

artisan:horizon:purge

Source

Terminate any rogue Horizon processes.

artisan:horizon:status

Source

Get the current status of Horizon.

artisan:horizon:terminate

Source

Terminate the master supervisor so it can be restarted.

artisan:telescope:clear

Source

Clear all entries from Telescope.

artisan:telescope:prune

Source

Prune stale entries from the Telescope database.

deploy

Source

Deploy your project.

Main deploy task.

This task is group task which contains next tasks: