How to encrypt and decrypt environment file in Laravel

php artisan env:encrypt
php artisan env:decrypt --key=KEY