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
Do you know about laravel project?
what are Important Points contracts in Laravel ?
What is facades in laravel?
What is the best way to learn laravel?
How to launch vagrant box?
What is use of print_r () and dump () functions?
Is laravel object oriented?
Which types of relationships are available in laravel eloquent?
What do you mean by eloquent used in laravel 5?
How long have you been using laravel?
What is localization?
what is meant by Laravel - Contracts ?
Explain laravel’s service container?
Explain how to redirect user with flashed session data in laravel?
How do I log an error?