Notifications Module Overview
Production-ready notification delivery for email and SMS. Supports multiple providers, Liquid templates, async queuing, and comprehensive instrumentation.
Why Use Primus Notifications?
Integrating multiple notification channels is complex. Primus Notifications provides a unified API for sending emails and SMS through any provider.
| Feature | DIY Approach | Primus Notifications |
|---|---|---|
| Multi-Provider | Manual per provider | Unified API |
| Templates | String concatenation | Liquid templates |
| Async Delivery | DIY queuing | Built-in workers |
| Failover | Manual fallback | Per-channel outcome |
Supported Channels
Send emails via SMTP, SendGrid, or AWS SES.
SMTPSendGridSES
SMS
Send SMS via Twilio, AWS SNS, or Azure Communication Services.
TwilioAWS SNSAzure
Provider Options
| Channel | Provider | Configuration |
|---|---|---|
| SMTP | UseSmtp() | |
| SendGrid | UseSendGrid() | |
| AWS SES | UseAmazonSes() | |
| SMS | Twilio | UseTwilio() |
| SMS | AWS SNS | UseAwsSns() |
| SMS | Azure | UseAzureCommunicationServices() |
Next steps
Follow the Email or SMS provider pages for installation and configuration details.
Next Steps
| Want to... | See Guide |
|---|---|
| Send emails | Email Setup |
| Send SMS | SMS Setup |
| Tenant-scoped notifications | Multi-Tenancy |