Tell me how to get current environment in Laravel 5?

Submitted by: Muhammad
You may access the current application environment via the environment method.

$environment = App::environment();
dd($environment);
Submitted by: Muhammad

Read Online Laravel PHP Developer Job Interview Questions And Answers