Answer Posted / 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 View All Answers
Where will you define laravel's facades?
Explain how to list all routes in laravel?
What is laravel dependency injection?
why we use Laravel - Session ?
What does orm stand for?
What is the directory structure of laravel 5.6?
What is factory in laravel?
What is dd() function in laravel?
What is database migration in laravel?
How to write html code in laravel controller?
What is name of first file that loaded in laravel?
What is auth? How is it used?
Explain about Form without CSRF token in Laravel ?
Is laravel good for api?
What are the main features of laravel?