Events

Commenter triggers the following events for your handlers to listen to:

Consult Laravel documentation to learn more about event and handlers.

Event NameArguements in orderDescriptions
LakM\Comments\Events\CommentCreated
LakM\Comments\Models\Comment

After a comment is created successfully.

LakM\Comments\Events\CommentDeleted
LakM\Comments\Models\Comment

After a comment is deleted.

LakM\Comments\Events\CommentUpdated
LakM\Comments\Models\Comment

After a comment is updated.

LakM\Comments\Events\CommentReplyCreated
LakM\Comments\Models\Comment,
LakM\Comments\Models\Reply

After a reply is created.

LakM\Comments\Events\CommentReplyDeleted
LakM\Comments\Models\Reply

After a reply is deleted.

LakM\Comments\Events\CommentReplyUpdated
LakM\Comments\Models\Reply

After a reply is updated.

Last updated