Loading…

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

Suggest An Answer

No suggestions avaliable!

Latest post from Laravel 5 Interview Questions

Ask Question