marko / notification
Notification system interfaces and channels for the Marko Framework
Package info
github.com/marko-php/marko-notification
Type:marko-module
pkg:composer/marko/notification
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- marko/config: 0.0.1
- marko/core: 0.0.1
Requires (Dev)
- pestphp/pest: ^4.0
Suggests
- marko/database: Required for database channel notifications
- marko/mail: Required for mail channel notifications
- marko/queue: Required for queued notification sending
This package is auto-updated.
Last update: 2026-03-25 21:07:35 UTC
README
Notification system contracts and channels--send notifications to users via mail, database, or custom channels from a single API.
Installation
composer require marko/notification
Quick Example
use Marko\Notification\NotificationSender; // Inject the sender and dispatch a notification $notificationSender->send($user, new OrderShippedNotification($trackingNumber)); // Or queue for background delivery $notificationSender->queue($user, new OrderShippedNotification($trackingNumber));
Documentation
Full usage, API reference, and examples: marko/notification