Download the PHP package sykez/genusis-sms without Composer
On this page you can find all versions of the php package sykez/genusis-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sykez/genusis-sms
More information about sykez/genusis-sms
Files in sykez/genusis-sms
Package genusis-sms
Short Description Genusis Gensuite v10 API SMS Channel for Laravel.
License MIT
Homepage https://github.com/sykezz/genusis-sms
Informations about the package genusis-sms
Genusis SMS Gateway (Gensuite API) Notification Channel for Laravel
This package makes it easy to send notifications using Genusis SMS Gateway via Gensuite API with Laravel.
Contents
- Contents
- Installation
- Setting up the Genusis SMS service
- Usage
- Sending Notification
- Routing Notification
- Logs & Debug
- License
Installation
Install package via Composer:
Setting up the Genusis SMS service
Add the service configration into your config/services.php:
Add the environment variablesinto your .env and set your Client ID, Username, Private Key and API URL.
Usage
Now you can send SMS from your notification:
Sending Notification
Routing Notification
You can route the notification to a phone number with to():
Or you can add routeNotificationForSms() method in your notifiable model:
You can also do on-demand notifications:
Logs & Debug
You can set your GENUSIS_SMS_DEBUG_LOG=true in your .env to send all requests and responses to into your Laravel logs.
License
The MIT License (MIT). Please see License File for more information.
All versions of genusis-sms with dependencies
illuminate/log Version ^5.5 || ^6.0 || ^7.0 || ^8.0
illuminate/notifications Version ^5.5 || ^6.0 || ^7.0 || ^8.0
illuminate/support Version ^5.5 || ^6.0 || ^7.0 || ^8.0