Explain Events in laravel ?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  Sharad Jaiswal
    Answered by Priyag Chaudhary

    Events in Laravel

    Events in Laravel are the implementation of the simple observer that allows end-users to subscribe and listen to different events by web application like user registered, product deleted, user verified, etc. All events in Laravel are kept under the app/Events folder.

    You can generate an event in Laravel via php artisan by running below command

    php artisan make:event ProductPurchased
    

Related Questions

Please Login or Register to leave a response.

Related Questions

Laravel interview questions

What is Laravel?

Laravel is a free open source "PHP framework" based on the MVC design pattern. It is created by Taylor Otwell...