Search by

marko / notification

markshust

Notification system interfaces and channels for the Marko Framework

Package info

github.com/marko-php/marko-notification

Type:marko-module

pkg:composer/marko/notification

Statistics

Installs: 106

Dependents: 2

Suggesters: 0

Stars: 0

0.13.0 2026-11-01 13:19 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\Contracts\NotificationSenderInterface;

// Inject NotificationSenderInterface 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