Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel encrypt 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 laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #encrypt #env
ADD COMMENT
Topic
Name
3+5 =