Tell me how to enable maintenance mode in laravel 5?
Answer / Hemant Gupta
To enable maintenance mode in Laravel 5, you can create a `.env` file in the root of your project and set the APP_DEBUG environment variable to false:
nn```
APP_DEBUG=false
```
Then, add the following lines to the bottom of the `.env` file:
```
MAINTENANCE_MODE=true
MAINTEANCE_MESSAGE=Your custom maintenance message here
```
| Is This Answer Correct ? | 0 Yes | 0 No |
State the difference between codeigniter and laravel.
How to get current environment in laravel 5?
Please explain the difference between laravel and codeigniter?
What is a caas?
Do you know how to use delete statement in laravel?
What is the use of object relational mapping?
What are route parameters?
How to generate application key in laravel? Why it is neccessary?
Explain traits in laravel.
What is illuminate in laravel?
What is contract in laravel?
What the server requirements for laravel?