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 |
Name aggregates methods of query builder.
How to check column is exists or not in a table using laravel?
What is php artisan in laravel?
Does laravel prevent sql injection?
what is meant by Laravel - Contracts ?
What is the use of php compact function?
What is a laravel controller?
How to get current environment in laravel?
How to add additional sites in homestead environment?
What is binding in laravel?
Tell me what is the purpose of using dd() function iin laravel?
What is report method?