cipher - The encryption cipher Optionalenv - The environment to be encrypted Optionalforce - Overwrite the existing encrypted environment file Optionalkey - The encryption key Optionalphp artisan env:encrypt [--key [KEY]] [--cipher [CIPHER]] [--env [ENV]] [--force]