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
php artisan env:encrypt [--key [KEY]] [--cipher [CIPHER]] [--env [ENV]] [--force]