Answer Posted / 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 |
Post New Answer View All Answers
How will you describe fillable attribute in a laravel model?
What is route group in laravel?
How to remove a complied class file?
What is blade php in laravel?
What do you mean by laravel mix?
Is laravel support caching? Explain
How to stop valet?
How to use laravel framework in php?
Tell me what is service providers?
How to install laravel by composer?
How to configure cron jobs in homestead?
List out some artisan commands?
How to create route name in laravel 5?
Why doesn't laravel use semantic versioning?
Where can I learn laravel?