article
Thursday, July 7, 2016
Laravel - Configuration
Laravel - Configuration
Basic Configuration
After installing Laravel, the first thing we need to do is to set the write permission for the directory storage and bootstrap/cache.
Generate Application key to secure session and other encrypted data. If the root directory doesn’t contain the .env file then rename the .env.example to .env file and execute the following command where you have installed Laravel. The newly generated key can be seen in the .env file.
You can also configure the locale, time zone, etc. of the application in the config/app.php file.
Environmental Configuration
rename the .env.example file to .env file.
Database Configuration
The database of your application can be configured from config/database.php file.