Laravel Installation and Configuration

***If your using laravel then it's highly recommended that you use Homestead as your local Laravel development environment:

1. The directory permissions will be set if your having the homestead
2. Application key should be 32 characters long and it can be set in .evn file
3. And need to rename the environment file (i.e) .evn.example file to .env
   Note: if the application key doesn't set, your user sessions and other encrypted data will not be secure!

A). Additional Configuration

cofiguration in config/app.php file It may contains serveral options such as timezone and locale
a). The additional componants
=> Cache
=> Session
=> Database

4. Web Server Configuration
  #Pretty URLs
   A). Nginx
If you are using Nginx, the following directive in your site configuration will direct to the index.php frontend controller.
Of course, when using Homestead, pretty url will automatically configured.

a). All the laravel framework applications will be stroed in the config directory.

Environment Configuration:
a). If you are installing via composor, this file will renamed to .evn. Otherwise you need to rename manually.
b). Your environment file should not be committed to your application source control. Since each developer/server using your application could require a different configuration
Note : Any variable in your .env file can be overridden by by external environment variables such as server-level or system-level variables.