Download the PHP package webxscripts/laravel-smsapi-notification-channel without Composer
On this page you can find all versions of the php package webxscripts/laravel-smsapi-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webxscripts/laravel-smsapi-notification-channel
More information about webxscripts/laravel-smsapi-notification-channel
Files in webxscripts/laravel-smsapi-notification-channel
Download webxscripts/laravel-smsapi-notification-channel
More information about webxscripts/laravel-smsapi-notification-channel
Files in webxscripts/laravel-smsapi-notification-channel
Vendor webxscripts
Package laravel-smsapi-notification-channel
Short Description Modern Laravel Notification Channel for SmsApi PHP Client
License MIT
Homepage https://github.com/WebXScripts/laravel-smsapi-notification-channel
Package laravel-smsapi-notification-channel
Short Description Modern Laravel Notification Channel for SmsApi PHP Client
License MIT
Homepage https://github.com/WebXScripts/laravel-smsapi-notification-channel
Please rate this library. Is it a good library?
Informations about the package laravel-smsapi-notification-channel
Laravel SmsApi Notification Channel
A Laravel 11+ notification channel for SmsApi with PHP 8.2+ support.
Requirements
- PHP 8.2 or higher
- Laravel 11 or newer
- SmsApi account and API token
Installation
Configuration
Add the following to your .env file:
Supported services:
com(default)pl- For other regions, use:
Basic Usage
Create a notification:
Example implementation:
Advanced Example
Phone Number Resolution Order
-
SmsApiNotifiableinterface: routeNotificationForSmsApi()methodrouteNotificationForSms()method- Model attributes:
phoneorphone_number
Sending Notifications
Available Message Methods
All methods return an immutable instance.
Error Handling
Custom exceptions provided:
MissingPhoneNumberExceptionMissingApiTokenExceptionInvalidNotificationException
Example:
Testing & Code Quality
License
MIT. See LICENSE.md.
All versions of laravel-smsapi-notification-channel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/notifications Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
smsapi/php-client Version ^3.0
illuminate/notifications Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
smsapi/php-client Version ^3.0
The package webxscripts/laravel-smsapi-notification-channel contains the following files
Loading the files please wait ...