Download Laravel for free


  • php artisan [command] [options] [arguments]


clear-compiledRemove the compiled class file
downPut the application into maintenance mode
envDisplay the current framework environment
helpDisplays help for a command
listLists commands
migrateRun the database migrations
optimizeOptimize the framework for better performance
serveServe the application on the PHP development server
tinkerInteract with your application
upBring the application out of maintenance mode
app:nameSet the application namespace
auth:clear-resetsFlush expired password reset tokens
cache:clearFlush the application cache
cache:tableCreate a migration for the cache database table
config:cacheCreate a cache file for faster configuration loading
config:clearRemove the configuration cache file
db:seedSeed the database with records
event:generateGenerate the missing events and listeners based on registration
key:generateSet the application key
make:authScaffold basic login and registration views and routes
make:consoleCreate a new Artisan command
make:controllerCreate a new controller class
make:eventCreate a new event class
make:jobCreate a new job class
make:listenerCreate a new event listener class
make:middlewareCreate a new middleware class
make:migrationCreate a new migration file
make:modelCreate a new Eloquent model class
make:policyCreate a new policy class
make:providerCreate a new service provider class
make:requestCreate a new form request class
make:seederCreate a new seeder class
make:testCreate a new test class
migrate:installCreate the migration repository
migrate:refreshReset and re-run all migrations
migrate:resetRollback all database migrations
migrate:rollbackRollback the last database migration
migrate:statusShow the status of each migration
queue:failedList all of the failed queue jobs
queue:failed-tableCreate a migration for the failed queue jobs database table
queue:flushFlush all of the failed queue jobs
queue:forgetDelete a failed queue job
queue:listenListen to a given queue
queue:restartRestart queue worker daemons after their current job
queue:retryRetry a failed queue job
queue:tableCreate a migration for the queue jobs database table
queue:workProcess the next job on a queue
route:cacheCreate a route cache file for faster route registration
route:clearRemove the route cache file
route:listList all registered routes
schedule:runRun the scheduled commands
session:tableCreate a migration for the session database table
vendor:publishPublish any publishable assets from vendor packages
view:clearClear all compiled view files

Related Examples