Explain Events in laravel ?


Posted On: Feb 22, 2018


    1 Answer Written

  •  devquora
    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...