env:encrypt

Encrypt an environment file

Options

  • cipher - The encryption cipher Optional
  • env - The environment to be encrypted Optional
  • force - Overwrite the existing encrypted environment file Optional
  • key - The encryption key Optional
  • prune - Delete the original environment file Optional
php artisan env:encrypt [--key [KEY]] [--cipher [CIPHER]] [--env [ENV]] [--prune] [--force]