CommonPHP Notifications is the core notification package for CommonPHP applications and plain PHP projects. It provides notification message objects, recipients, channel registration, driver contracts, delivery results, and a small notifier facade.
The package intentionally stops at the shared delivery boundary. Provider-specific behavior belongs in driver packages for SMTP, SendGrid, Twilio, Slack, Teams, webhooks, or other messaging APIs.
- Notification objects
- Recipients
- Channels and drivers
- Delivery results
- Service provider
- Error handling
Entry points:
CommonPHP\Notifications\NotifierCommonPHP\Notifications\NotificationChannelCommonPHP\Notifications\ChannelRegistryCommonPHP\Notifications\NotificationsServiceProvider
Message objects:
CommonPHP\Notifications\NotificationCommonPHP\Notifications\Recipient
Delivery objects:
CommonPHP\Notifications\DeliveryResultCommonPHP\Notifications\DeliveryReportCommonPHP\Notifications\Enums\DeliveryStatus
Contracts:
CommonPHP\Notifications\Contracts\NotifierInterfaceCommonPHP\Notifications\Contracts\NotificationDriverInterfaceCommonPHP\Notifications\Contracts\AbstractNotificationDriver
Built-in drivers:
CommonPHP\Notifications\Drivers\ArrayNotificationDriverCommonPHP\Notifications\Drivers\NullNotificationDriver
Exceptions:
CommonPHP\Notifications\Exceptions\NotificationExceptionCommonPHP\Notifications\Exceptions\InvalidNotificationExceptionCommonPHP\Notifications\Exceptions\InvalidNotificationChannelExceptionCommonPHP\Notifications\Exceptions\ChannelNotFoundExceptionCommonPHP\Notifications\Exceptions\ChannelAlreadyRegisteredExceptionCommonPHP\Notifications\Exceptions\UnsupportedNotificationExceptionCommonPHP\Notifications\Exceptions\NotificationDriverExceptionCommonPHP\Notifications\Exceptions\NotificationDeliveryException