Explain Laravel - Event Handling ?



Explain Laravel - Event Handling ?..

Answer / surbhi

All the event classes in Laravel are stored in the app/Events folder and the listeners are stored in the app/Listeners folder.

The artisan command for generating events and listeners in your web application is shown below -

php artisan event:generate

This command generates the events and listeners to the respective folders as discussed above.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is acl in laravel?

0 Answers  


What is soft delete in laravel?

0 Answers  


What do you understand by reverse routing?

0 Answers  


How to create custom middleware in laravel?

0 Answers  


Tell me how to set database connection in laravel?

0 Answers  






What are terminable middlewares?

0 Answers  


What is binding in laravel?

0 Answers  


How to set cookies in laravel?

0 Answers  


What is redirect routes?

0 Answers  


Why laravel is the best framework?

0 Answers  


What is laravel service container?

0 Answers  


What is eager loading in laravel?

0 Answers  


Categories