From 442e078ce6a9297e30a82e2c3a5cc69ade6cecc7 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 24 Aug 2024 01:29:35 +0300 Subject: [PATCH] Update events.md --- docs/events.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/events.md b/docs/events.md index 18df45c..4a21424 100644 --- a/docs/events.md +++ b/docs/events.md @@ -7,10 +7,16 @@ weight: 5 wind will fire these events: - `LaraZeus\Wind\Events\LetterSent` + when a new letter sent from the website - `LaraZeus\Wind\Events\ReplySent` + when you send a replay from the admin panel +- `LaraZeus\Wind\Events\NewLetterSent` + when you send a new letter from the admin panel ## Register a Listener: + * first create your listener: +* ```bash php artisan make:listener SendWindNotification --event=LetterSent ```