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 |
Explain the types of dependency injection?
What is the command to connect vagrant via ssh?
Explain dependency injection and their types.
How can you reduce memory usage in laravel?
What is blade laravel?
How to clear complete cache in laravel?
How to install laravel by composer?
What is factory in laravel?
What is response macros?
By default valet serve your app which tld?
How to check request is ajax or not?
How to serve sites on valet?