Weave 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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table