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 mvc framework?

0 Answers  


What is the use of blade?

0 Answers  


Tell me how do you do dependency injection in laravel?

0 Answers  


Write a code to upload a file in laravel 5?

0 Answers  


What is dd() function in laravel?

0 Answers  


Explain web.php route.

0 Answers  


How to turn off crsf protection for specific route in laravel?

0 Answers  


Explain the concept of cookies.

0 Answers  


How to use session in laravel?

0 Answers  


How we can upload files in laravel? Explain

0 Answers  


Tell me what are system requirement for laravel 5.0?

0 Answers  


Explain what is laravel

0 Answers  


Categories