The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
10.x
key:generate
🖥
key:generate
Set the application key
Options
force
- Force the operation to run when in production
Optional
show
- Display the key instead of modifying files
Optional
php artisan key:generate [--show] [--force]
Click to copy