Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel env

// To encrypt a Laravel .env file
php artisan env:encrypt
// A new .env.encrypted will be created and the key will be printed
// In the output. This key should be saved in Password Manager to 
// Decrypt it later.

// To decrypt a Laravel .env file
php artisan env:decrypt
Source by panjeh.medium.com #
 
PREVIOUS NEXT
Tagged: #laravel #env
ADD COMMENT
Topic
Name
9+1 =