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

Notification Bell Laravel Package

caiquebispo/notification-bell

View on GitHub
Deep Wiki
Context7
v2.0.0

Notification Bell v2.0.0

The biggest release of the package: end-user control, a robust delivery pipeline, and zero-build self-contained assets. It looks and works right in any project — Tailwind, Bootstrap, or plain CSS — with no npm build and no published assets.

Highlights

Zero build, zero publish

  • Self-contained CSS (prefixed nb-) served directly from the package — no Tailwind/Bootstrap dependency, no npm run build, no vendor:publish required
  • Automatic dark mode following the host page (.dark, [data-theme], [data-bs-theme]), with theme.mode to force system, dark or light
  • Full theming via config: colors, badge style/position, radius, dropdown width, toast position, custom bell icon and item view

End-user control

  • Preferences panel inside the bell: toasts, sound + volume, muted categories, do-not-disturb snooze and daily quiet hours (persisted per user)
  • Pin, archive, undo delete (soft deletes) and clear-all with elegant inline confirmations — no native browser dialogs
  • Tabs (All / Unread / Archived), smart grouping via group_key, and a full history page with search and filters

Robust delivery pipeline

  • Deduplication window (dedup_key) and per-user rate limiting against notification floods
  • scheduled_at / expires_at support
  • Laravel events: NotificationCreated, NotificationRead, NotificationArchived, NotificationDeleted
  • Real-time broadcasting (Echo / Reverb / Pusher) with automatic polling fallback
  • Optional REST API for mobile apps and SPAs

Production safety

  • Idempotent, reconciling migrations — partial runs and pre-existing tables never break a deploy
  • Schema-readiness guard: between composer update and php artisan migrate the bell renders empty instead of throwing on every page

Quality

  • English (default) and Brazilian Portuguese, forceable via locale config or component prop — including relative dates
  • Redesigned admin panel with self-contained assets, dark mode and accessibility
  • New test suite: 52 tests (PHPUnit + Testbench) covering models, dispatcher, preferences, Livewire components, API and deploy scenarios

Breaking changes

  • Notification::delete() is now a soft delete; cleanup routines purge trashed rows permanently
  • The Tailwind-dependent views were replaced by self-contained CSS — if you had published the v1 views, re-publish or port customizations to theme.item_view / theme.bell_icon
  • New required migrations — run php artisan migrate after upgrading

Upgrading from 1.x

  1. composer require caiquebispo/notification-bell:^2.0
  2. php artisan migrate
  3. If you had published the config: php artisan vendor:publish --tag="notification-bell-config" --force to see the new keys (old configs keep working — missing keys fall back to defaults)

The helper API is backward compatible: NotificationHelper::create() keeps its signature, with new capabilities in the trailing $options array.

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle