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 |
Can you explain about serialization?
What is namespace in laravel?
What are policies?
are you able to laravel create-project via composer, explain how?
What is php artisan.
How to access laravel project from another computer?
What is a Laravel - Contracts ?
I just installed laravel and have the evil whoops error,how do I find out what’s wrong and fix it?
Tell me how would you add a 3rd party package like sentry?
How to install laravel?
Is laravel support caching? Explain
How to write html code in laravel controller?