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
  • readable - Encrypt each variable individually with readable, plain-text variable names Optional
php artisan env:encrypt [--key [KEY]] [--cipher [CIPHER]] [--env [ENV]] [--readable] [--prune] [--force]