Channel Overview
| Key | Name | Type | External credentials required |
|---|---|---|---|
nova | Laravel Nova feed | In-app | No |
card | Nova dashboard card | In-app | No |
webpush | Web Push (browser) | In-app | No (HTTPS required) |
email | External | Mail driver config | |
sms | SMS | External | Twilio (or compatible) |
call | Voice call | External | Twilio |
whatsapp | External | Twilio + Content SID | |
slack | Slack | External | Slack webhook / token |
teams | Microsoft Teams | External | Teams incoming webhook |
In-App Channels
These channels deliver within your application and require no third-party credentials.nova
Delivers to the Laravel Nova notification feed. Best for persistent, user-visible records inside the Nova admin panel.
card
Renders a notification card directly on the Nova dashboard. Ideal for urgent messages that should be impossible to miss.
webpush
Sends a browser push notification via the Web Push protocol. Reaches users even when they are not actively using the app.
External Channels
These channels deliver outside your application and require credentials configured in your environment or service provider.email
Sends a standard email using Laravel’s mail system. Configure your preferred mail driver (SMTP, SES, Mailgun, etc.) in
config/mail.php.Identifier: emailsms
sms
Sends an SMS message. Requires a compatible SMS provider configured via Laravel Notifications (e.g., Twilio).Identifier:
smscall
call
Places a voice call using Twilio’s TwiML. The package registers a TwiML endpoint at
POST /twiml/call-notification/{id}.Identifier: callwhatsapp
Sends a WhatsApp message via Twilio. Requires both Twilio credentials and a Content Template SID set in config.Identifier:
whatsappslack
slack
Posts a message to a Slack channel. Configure the webhook URL or bot token via your notification routing.Identifier:
slackteams
teams
Posts a message to a Microsoft Teams channel via an incoming webhook.Identifier:
teamsChannel Registration
All nine channels are registered inconfig/notification-center.php under the messages key. Each key maps to the notification class that handles delivery for that channel:
Opscale\NotificationCenter\Notifications\Notification.
Web Push Routes
The following routes are registered automatically to support thewebpush channel:
| Method | Path | Purpose |
|---|---|---|
GET | /sw.js | Serves the service worker script |
GET | /webpush/subscribe/{profileId} | Returns the VAPID public key |
POST | /webpush/register/{profileId} | Registers a push subscription |