Laravel PHP Developer Question: Download Questions PDF
Tell me how to get current environment in Laravel 5?
![Laravel PHP Developer Interview Answer Laravel PHP Developer Interview Question](https://globalguideline.com/public/images/interview/27.png)
Answer:
You may access the current application environment via the environment method.
$environment = App::environment();
dd($environment);
$environment = App::environment();
dd($environment);
Download Laravel PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me in Which Language It Was Written? | Tell me why Laravel over other PHP frameworks? |