How to work with an Error in Laravel ?
Answer / rishabh khanna
Errors and exception handling is already configured for you when you start a new Laravel project.
Normally, in a local environment we need to see errors for debugging purposes.
We need to hide these errors from users in production environment.
This can be achieved with the variable APP_DEBUG set in the environment file .env stored at the root of the application.
Note - After changing the APP_DEBUG variable, you should restart the Laravel server.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is queues?
What service provider’s register method does?
How to send mail using queue in laravel 5?
What is controller in laravel?
How to use laravel framework in php?
What is views in laravel?
Explain active record concept in laravel.
Explain me what is your favorite feature of laravel?
How to launch vagrant box?
How to assign a variable value for all view file?
Explain how to list all routes in laravel?
Explain laravel echo.