I am new to laravel, and I have a question about the usage of events.
As far as I understand, events are used when some actions such as registering users occur and handle logic following those actions such as sending a confirmation email.
But what I do not understand is that why can't I just create a helper function which would handle those actions instead of creating event and listener files.
In other words, what is the advantages of using events?
Thank you.