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 to get current route name?
What is the boot method?
What is console in laravel?
Explain request life cycle of laravel.
Tell us what are advantages of laravel?
What are the difference between laravel 5 & laravel 4?
Can you update homestead?
What is database migration? And how to use it to add insert initial data to database?
Define implicit controller.
what are Important Points contracts in Laravel ?
Explain the difference between laravel 4 and laravel 5?
What is query builder in laravel?
What are laravel eloquent?
Tell me why doesn't laravel use semantic versioning?
How to create custom middleware in laravel?