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
How to make a constant and use globally?
Define laravel guard.
Please explain what is laravel?
Laravle supports which databases?
Is laravel secure?
Explain how can you write your own service provider in laravel?
What is package in laravel? Name some laravel packages?
Explain Constructor Injection ?
Is laravel spark free?
Explain loggin in laravel.
How to retrive all requested data in laravel?
Explain short brief on Facades in Laravel ?
What do you mean by view composers?
Explain me what directories that need to be writable laravel installation?
How to distroy cookies in laravel?