C
C
Cathari2020-09-22 19:35:19
Laravel
Cathari, 2020-09-22 19:35:19

How to correctly release the sending of a letter / notification (notification) for a user who has logged in?

Tell me how in Laravel to correctly implement sending a letter / notification (notification) for a user who has logged in. I will be grateful who will tell step by step.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-09-23
@glaphire

The topic is not the most trivial, but you first need to read about the concept of an event dispatcher in the life cycle of a request ( mediator pattern - real life example ) and how they are implemented in Laravel - Laravel events
Then, separately about authentication events

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question