Explain, how to get current environment in Laravel 5?
With the help of this app()->environment()
we can get a current environment like production or whatever you have set in your .env file
BY Best Interview Question ON 08 Apr 2019