Laravel - Configuration and Environment
You want to automate Laravel app setup including key generation in a deployment script. Which sequence is correct?
.env.example to .env to create the environment config file.php artisan key:generate to set the APP_KEY in the new .env file.php artisan config:cache to cache the config including the new key for performance.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions