Laravel .env File: What to Set Before Your Site Goes Live
Before a Laravel site goes live, set APP_ENV to production, APP_DEBUG to false, a real APP_KEY and the correct HTTPS APP_URL, then fill in live database and mail settings and keep the .env file private.
