In this tutorial, i am going to show you different methods of defining global variables in Laravel 5. Here, i will basically discuss two methods, one using the .env file and other defining variables in routes.php file
Read this post on techigniter.in