Skip to content

.env file

Grace Burton edited this page Apr 30, 2020 · 2 revisions

Wondering why the application takes so long to refresh your pages &/ does not connect to your database correctly? Flush the cache

To make this a cinch, Laravel utilizes the DotEnv PHP library by Vance Lucas. In a fresh Laravel installation, the root directory of your application will contain a .env.example file. If you install Laravel via Composer, this file will automatically be renamed to .env. Otherwise, you should rename the file manually.

php artisan commands - commands to clear certain caches php artisan env - env variables

DON'T Change the files in the config .php files! Use the .env file found in the root directory /IdentityMapping

Clone this wiki locally