key:generate

Set the application key

Options

  • show - Display the key instead of modifying files Optional
  • force - Force the operation to run when in production Optional
php artisan key:generate [--show] [--force]