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]