Creating a event
To create a event, we use the “php artisan make:module:event ModuleName eventName” command.
php artisan make:module:event blog BlogEvent
This will create a event in the path modules/blog/src/Events/BlogEvent.php
To create a event, we use the “php artisan make:module:event ModuleName eventName” command.
php artisan make:module:event blog BlogEvent
This will create a event in the path modules/blog/src/Events/BlogEvent.php