sistrum 0.1.0 copy "sistrum: ^0.1.0" to clipboard
sistrum: ^0.1.0 copied to clipboard

Multi-channel notifications for Maat applications.

Sistrum Notifications #

Mail, database, custom notification channels, delivery events, and testing fakes for Maat applications.

class WelcomeNotification extends Notification {
  @override
  List<String> via(Object notifiable) => const ['mail'];

  @override
  MailMessage toMail(Object notifiable) =>
      MailMessage().subject('Welcome').line('Thanks for joining.');
}

await user.notify(WelcomeNotification());

Register NotificationServiceProvider and include sistrumMigrations when using the database channel. New Ptah applications include both automatically.

0
likes
130
points
--
downloads

Documentation

API reference

Publisher

verified publishergaitco.com

Weekly Downloads

Multi-channel notifications for Maat applications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

amarna, maat, seshat_maat

More

Packages that depend on sistrum