Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Notification Log Laravel Package

spatie/laravel-notification-log

Logs all notifications sent by your Laravel app, storing them as NotificationLogItems so you can query what was sent to a user, display notification history, and make sending decisions (e.g., avoid duplicates) via helpers like wasSentTo() and inThePastMinutes().

View on GitHub
Deep Wiki
Context7

title: Getting started weight: 1

By default, the package will write an entry in the notification_log_items table for each notification sent in your app. You can also have fine-grained control over which notifications should be logged.

the notification_log_items table has these columns:

  • notification_type: the class name of the sent notification

  • notifiable_id: the key value of the notifiable the notification was sent to

  • notifiable_type: the (morph) class name of the notifiable the notification was sent to

  • channel: the name of the channel the notification was sent to

  • fingerprint: a value that you can customize to identify the exact content of the notification

  • extra: an array of values you can freely add to the log

  • anonymous_notifiable_properties: the configuration of the notifiable when sending an on demand notification

  • confirmed_at: will contain the time the NotificationSent event was fired

    How the package fills all these properties can be fully customized.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony