panelis-php/broadcast

Broadcast notifications (database & mail) to users by role for Panelis.

Maintainers

Package info

github.com/panelis-php/broadcast

pkg:composer/panelis-php/broadcast

Transparency log

Statistics

Installs: 23

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-12 11:11 UTC

This package is auto-updated.

Last update: 2026-08-12 11:12:50 UTC


README

Broadcast notifications (database & mail) to users by role for Panelis.

Features

  • List broadcasts — Filament table with the history of what was sent.
  • New broadcast — send a notification (database bell / email) to users by role, or everyone.
  • No edit / delete — create once, keep a clean history.

Form fields

  • Title — judul notifikasi.
  • Recipients — multiple select based on role (empty = all users).
  • Typeinfo, warning, success, error.
  • Channeldatabase, mail (multi).
  • Content — Markdown editor (rendered as markdown in the notification view).
  • Send at — empty = now, or a future date for scheduling.

Installation

composer require panelis-php/broadcast

Register the scheduler for scheduled broadcasts (in the host app's routes/console.php):

Schedule::command('broadcast:send-scheduled')->everyMinute();

Add Panelis\Broadcast\Panel\Resources\BroadcastResource\Enums\BroadcastPermission::class to config('permission.enums'), then re-seed permissions from the Permissions page.

Requirements

  • PHP 8.3+
  • Laravel 13
  • Filament 5
  • spatie/laravel-permission

License

MIT