Artisan.page

env:decrypt

Decrypt an environment file

Terminal
php artisan env:decrypt [--key [KEY]] [--cipher [CIPHER]] [--env [ENV]] [--force] [--path [PATH]] [--filename [FILENAME]]

Options

cipherOptional

The encryption cipher

envOptional

The environment to be decrypted

filenameOptional

Filename of the decrypted file

forceOptional

Overwrite the existing environment file

keyOptional

The encryption key

pathOptional

Path to write the decrypted file