[go: up one dir, main page]

Laravel Artisan Commands (13.x)

Complete reference for all 257 Artisan commands in Laravel 13.x. Search, browse by group, and copy commands instantly.

General

22
_complete Internal command to provide shell completion suggestions
about Display basic information about your application
clear-compiled Remove the compiled class file
completion Dump the shell completion script
db Start a new database CLI session
docs Access the Laravel documentation
down Put the application into maintenance / demo mode
dusk Run the Dusk tests for the application
env Display the current framework environment
help Display help for a command
horizon Start a master supervisor in the foreground
inspire Display an inspiring quote
invoke-serialized-closure Invoke the given serialized closure
list List commands
migrate Run the database migrations
optimize Cache framework bootstrap, configuration, and metadata to increase performance
pail Tails the application logs
reload Reload running services
serve Serve the application on the PHP development server
test Run the application tests
tinker Interact with your application
up Bring the application out of maintenance mode

auth

1
auth:clear-resets Flush expired password reset tokens

boost

5
boost:add-skill Add skills from a remote GitHub repository
boost:execute-tool Execute a Boost MCP tool in isolation (internal command)
boost:install
boost:mcp Starts Laravel Boost (usually from mcp.json)
boost:update Update the Laravel Boost guidelines & skills to the latest guidance

breeze

1
breeze:install Install the Breeze controllers and resources

cache

3
cache:clear Flush the application cache
cache:forget Remove an item from the cache
cache:prune-stale-tags Prune stale cache tags from the cache (Redis only)

cashier

1
cashier:webhook Create the Stripe webhook to interact with Cashier

channel

1
channel:list List all registered private broadcast channels

config

4
config:cache Create a cache file for faster configuration loading
config:clear Remove the configuration cache file
config:publish Publish configuration files to your application
config:show Display all of the values for a given configuration file or key

db

5
db:monitor Monitor the number of connections on the specified database
db:seed Seed the database with records
db:show Display information about the given database
db:table Display information about the given database table
db:wipe Drop all tables, views, and types

dusk

7
dusk:chrome-driver Install the ChromeDriver binary
dusk:component Create a new Dusk component class
dusk:fails Run the failing Dusk tests from the last run and stop on failure
dusk:install Install Dusk into the application
dusk:make Create a new Dusk test class
dusk:page Create a new Dusk page class
dusk:purge Purge dusk test debugging files

env

2
env:decrypt Decrypt an environment file
env:encrypt Encrypt an environment file

event

4
event:cache Discover and cache the application's events and listeners
event:clear Clear all cached events and listeners
event:generate Generate the missing events and listeners based on registration
event:list List the application's events and listeners

fortify

1
fortify:install Install all of the Fortify resources

horizon

20
horizon:clear Delete all of the jobs from the specified queue
horizon:clear-metrics Delete metrics for all jobs and queues
horizon:continue Instruct the master supervisor to continue processing jobs
horizon:continue-supervisor Instruct the supervisor to continue processing jobs
horizon:forget Delete a failed queue job
horizon:install Install all of the Horizon resources
horizon:list List all of the deployed machines
horizon:listen Run Horizon and automatically restart workers on file changes
horizon:pause Pause the master supervisor
horizon:pause-supervisor Pause a supervisor
horizon:publish Publish all of the Horizon resources
horizon:purge Terminate any rogue Horizon processes
horizon:snapshot Store a snapshot of the queue metrics
horizon:status Get the current status of Horizon
horizon:supervisor Start a new supervisor
horizon:supervisor-status Show the status for a given supervisor
horizon:supervisors List all of the supervisors
horizon:terminate Terminate the master supervisor so it can be restarted
horizon:timeout Get the maximum timeout for the given environment
horizon:work Start processing jobs on the queue as a daemon

inertia

4
inertia:check-ssr Check the Inertia SSR server health status
inertia:middleware Create a new Inertia middleware
inertia:start-ssr Start the Inertia SSR server
inertia:stop-ssr Stop the Inertia SSR server

install

2
install:api Create an API routes file and install Laravel Sanctum or Laravel Passport
install:broadcasting Create a broadcasting channel routes file

jetstream

1
jetstream:install Install the Jetstream components and resources

key

1
key:generate Set the application key

lang

1
lang:publish Publish all language files that are available for customization

livewire

9
livewire:attribute Create a new Livewire attribute class
livewire:config Publish Livewire config file
livewire:configure-s3-upload-cleanup Configure temporary file upload s3 directory to automatically cleanup files older than 24hrs
livewire:convert Convert a Livewire component between single-file and multi-file formats
livewire:form Create a new Livewire form class
livewire:layout Create a new app layout file
livewire:make Create a new Livewire component
livewire:publish Publish Livewire configuration
livewire:stubs Publish Livewire stubs

make

43
make:cache-table Create a migration for the cache database table
make:cast Create a new custom Eloquent cast class
make:channel Create a new channel class
make:class Create a new class
make:command Create a new Artisan command
make:component Create a new view component class
make:config Create a new configuration file
make:controller Create a new controller class
make:enum Create a new enum
make:event Create a new event class
make:exception Create a new custom exception class
make:factory Create a new model factory
make:interface Create a new interface
make:job Create a new job class
make:job-middleware Create a new job middleware class
make:listener Create a new event listener class
make:livewire Create a new Livewire component
make:mail Create a new email class
make:mcp-prompt Create a new MCP prompt class
make:mcp-resource Create a new MCP resource class
make:mcp-server Create a new MCP server class
make:mcp-tool Create a new MCP tool class
make:middleware Create a new HTTP middleware class
make:migration Create a new migration file
make:model Create a new Eloquent model class
make:notification Create a new notification class
make:notifications-table Create a migration for the notifications table
make:observer Create a new observer class
make:policy Create a new policy class
make:provider Create a new service provider class
make:queue-batches-table Create a migration for the batches database table
make:queue-failed-table Create a migration for the failed queue jobs database table
make:queue-table Create a migration for the queue jobs database table
make:request Create a new form request class
make:resource Create a new resource
make:rule Create a new validation rule
make:scope Create a new scope class
make:seeder Create a new seeder class
make:session-table Create a migration for the session database table
make:test Create a new test class
make:trait Create a new trait
make:view Create a new view
make:volt Create a new Volt component

mcp

2
mcp:inspector Open the MCP Inspector tool to debug and test MCP Servers
mcp:start Start the MCP Server for a given handle

migrate

6
migrate:fresh Drop all tables and re-run all migrations
migrate:install Create the migration repository
migrate:refresh Reset and re-run all migrations
migrate:reset Rollback all database migrations
migrate:rollback Rollback the last database migration
migrate:status Show the status of each migration

model

2
model:prune Prune models that are no longer needed
model:show Show information about an Eloquent model

nightwatch

2
nightwatch:agent Run the Nightwatch agent.
nightwatch:status Get the current status of the Nightwatch agent.

nova

25
nova:action Create a new action class
nova:asset Create a new asset
nova:base-resource Create a new base resource class
nova:card Create a new card
nova:check-license Verify your Nova license key
nova:custom-filter Create a new custom filter
nova:dashboard Create a new dashboard.
nova:field Create a new field
nova:filter Create a new filter class
nova:install Install all of the Nova resources
nova:lens Create a new lens class
nova:partition Create a new metric (partition) class
nova:policy Create a new policy class
nova:progress Create a new metric (progress) class
nova:publish Publish all of the Nova resources
nova:repeatable Create a new repeatable class
nova:resource Create a new resource class
nova:resource-tool Create a new resource tool
nova:stubs Publish all stubs that are available for customization
nova:table Create a new metric (table) class
nova:tool Create a new tool
nova:translate Create translation files for Nova
nova:trend Create a new metric (trend) class
nova:user Create a new user
nova:value Create a new metric (single value) class

octane

8
octane:frankenphp Start the Octane FrankenPHP server
octane:install Install the Octane components and resources
octane:reload Reload the Octane workers
octane:roadrunner Start the Octane RoadRunner server
octane:start Start the Octane server
octane:status Get the current status of the Octane server
octane:stop Stop the Octane server
octane:swoole Start the Octane Swoole server

optimize

1
optimize:clear Remove the cached bootstrap files

package

1
package:discover Rebuild the cached package manifest

passport

5
passport:client Create a client for issuing access tokens
passport:hash Hash all of the existing secrets in the clients table
passport:install Run the commands necessary to prepare Passport for use
passport:keys Create the encryption keys for API authentication
passport:purge Purge revoked and / or expired tokens and authentication codes

pennant

2
pennant:feature Create a new feature class
pennant:purge Delete Pennant features from storage

pulse

4
pulse:check Take a snapshot of the current server's pulse
pulse:clear Delete all Pulse data from storage
pulse:restart Restart any running "work" and "check" commands
pulse:work Process incoming Pulse data from the ingest stream

queue

14
queue:clear Delete all of the jobs from the specified queue
queue:failed List all of the failed queue jobs
queue:flush Flush all of the failed queue jobs
queue:forget Delete a failed queue job
queue:listen Listen to a given queue
queue:monitor Monitor the size of the specified queues
queue:pause Pause job processing for a specific queue
queue:prune-batches Prune stale entries from the batches database
queue:prune-failed Prune stale entries from the failed jobs table
queue:restart Restart queue worker daemons after their current job
queue:resume Resume job processing for a paused queue
queue:retry Retry a failed queue job
queue:retry-batch Retry the failed jobs for a batch
queue:work Start processing jobs on the queue as a daemon

reverb

3
reverb:install Install the Reverb dependencies
reverb:restart Restart the Reverb server
reverb:start Start the Reverb server

roster

1
roster:scan Detect packages & approaches in use and output as JSON

route

3
route:cache Create a route cache file for faster route registration
route:clear Remove the route cache file
route:list List all registered routes

sail

3
sail:add Add a service to an existing Sail installation
sail:install Install Laravel Sail's default Docker Compose file
sail:publish Publish the Laravel Sail Docker files

sanctum

1
sanctum:prune-expired Prune tokens expired for more than specified number of hours

schedule

9
schedule:clear-cache Delete the cached mutex files created by scheduler
schedule:finish Handle the completion of a scheduled command
schedule:interrupt Interrupt the current schedule run
schedule:list List all scheduled tasks
schedule:pause Pause the scheduler
schedule:resume Resume the schedule
schedule:run Run the scheduled commands
schedule:test Run a scheduled command
schedule:work Start the schedule worker

schema

1
schema:dump Dump the given database schema

scout

7
scout:delete-all-indexes Delete all indexes
scout:delete-index Delete an index
scout:flush Flush all of the model's records from the index
scout:import Import the given model into the search index
scout:index Create an index
scout:queue-import Import the given model into the search index via chunked, queued jobs
scout:sync-index-settings Sync your configured index settings with your search engine (Meilisearch)

spark

1
spark:install Install all of the Spark resources

storage

2
storage:link Create the symbolic links configured for the application
storage:unlink Delete existing symbolic links configured for the application

stub

1
stub:publish Publish all stubs that are available for customization

telescope

6
telescope:clear Delete all Telescope data from storage
telescope:install Install all of the Telescope resources
telescope:pause Pause all Telescope watchers
telescope:prune Prune stale entries from the Telescope database
telescope:publish Publish all of the Telescope resources
telescope:resume Unpause all Telescope watchers

vapor

5
vapor:handle
vapor:health-check Check the health of the Vapor application
vapor:queue-failed List all of the failed queue jobs
vapor:schedule Run the scheduled commands at the beginning of every minute
vapor:work Process a Vapor job

vendor

1
vendor:publish Publish any publishable assets from vendor packages

view

2
view:cache Compile all of the application's Blade templates
view:clear Clear all compiled view files

volt

1
volt:install Install all of the Volt resources