Download the PHP package itpalert/web2sms-notification-channel without Composer
On this page you can find all versions of the php package itpalert/web2sms-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download itpalert/web2sms-notification-channel
More information about itpalert/web2sms-notification-channel
Files in itpalert/web2sms-notification-channel
Download itpalert/web2sms-notification-channel
More information about itpalert/web2sms-notification-channel
Files in itpalert/web2sms-notification-channel
Vendor itpalert
Package web2sms-notification-channel
Short Description Web2sms Notification Channel for laravel.
License MIT
Package web2sms-notification-channel
Short Description Web2sms Notification Channel for laravel.
License MIT
Please rate this library. Is it a good library?
Informations about the package web2sms-notification-channel
Web2sms notifications channel for Laravel
This package makes it easy to send notifications using web2sms with Laravel 10.0.
Contents
- Installation
- Setting up the web2sms service
- Usage
- Available Message methods
- Credits
Installation
You can install the package via composer:
Setting up the web2sms service
Add the following env variables to your .env
:
Add the folowing to the config/services.php
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone number to use, add the routeNotificationForWeb2sms
method to your Notifiable model.
This method needs to return a phone number.
Available Message methods
content(string $content)
: Accepts a string value for the sms content.from(string $from)
: Accepts a string value for the sender number.unicode()
: Set the message type.clientReference(string $clientReference)
: Set the client reference (up to 40 characters).statusCallback(string $callback)
: Set the webhook callback URL to update the message status.schedule(string $schedule)
: Set the date the message should sent at.displayedMessage(string $displayedMessage)
:Set the text which will be shown in the dashboard in place of the actual message content.usingClient(Client $client)
: Set the web2sms client instance.
Credits
All versions of web2sms-notification-channel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
illuminate/notifications Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
itpalert/web2sms Version ^1.0
illuminate/notifications Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
itpalert/web2sms Version ^1.0
The package itpalert/web2sms-notification-channel contains the following files
Loading the files please wait ....