Skip to content

marko-php/marko-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marko/notification

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

About

[READ-ONLY] Notification system interfaces and channels for the Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages