adspace
Answer Posted / Nishu Agrawal
To get the current application environment in Laravel, use the `app()` helper function and call the `environment()` method on the Application instance:
`$env = app()->environment();`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers