Download the PHP package innoflash/za-sms without Composer
On this page you can find all versions of the php package innoflash/za-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innoflash/za-sms
More information about innoflash/za-sms
Files in innoflash/za-sms
Package za-sms
Short Description An SMS package to handle SMS sending from South African providers
License MIT
Informations about the package za-sms
za-sms
Table of contents
- Introduction
- Installation
- Usage
- As notification
- As a facade
- Additional use
- Contributing
- Security
- License
Introduction
This package is aimed at creating a South African SMS package for for local SMS providers using their REST APIs. Below is a list of providers we currently integrated:
Install
composer require innoflash/za-sms
Usage
Once the package is installed you will need to set the provider in the file as follows:
Available providers:
- zoomconnect
- winsms
Use as a notification
za-sms supports being a driver for Laravel Notification
-
In the class set your model phone number field by overriding this
-
In the class use the za-sms as follows
- Then create the notification body as follows
Use as a Facade
At times you would want to send the SMS your own way so you can use the facade
Additionally
You can also access the SMS Provider object using all available service container methods
Contributing
- Please see CONTRIBUTING for details.
- Add a provider using this manual
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of za-sms with dependencies
illuminate/notifications Version ^5.1|^6.0|^7.0|^8.0
illuminate/support Version ^5.1|^6.0|^7.0|^8.0
illuminate/events Version ^5.1|^6.0|^7.0|^8.0
illuminate/queue Version ^5.1|^6.0|^7.0|^8.0