Download the PHP package oza75/laravel-orange-sms-channel without Composer
On this page you can find all versions of the php package oza75/laravel-orange-sms-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oza75/laravel-orange-sms-channel
More information about oza75/laravel-orange-sms-channel
Files in oza75/laravel-orange-sms-channel
Package laravel-orange-sms-channel
Short Description A laravel notification channel to deliver sms using the Orange SMS Api
License MIT
Homepage https://github.com/oza75/laravel-orange-sms-channel
Informations about the package laravel-orange-sms-channel
Laravel Orange SMS notification channel
A Laravel Notification Channel to send sms notification to your users in the Middle East and Africa using Orange SMS. More details here https://developer.orange.com/apis/sms.
Installation
You can install the package via composer:
You can publish configuration file using:
Usage
First, you need to create an application on orange developer website. Go
to https://developer.orange.com/myapps and create a new application. Once you
created your application, you will get a Client ID
and Client Secret
. These credentials will be used to communicate with Orange
API. Now, you need to add the Orange SMS API to your application. Go
to https://developer.orange.com/apis/sms select your country and then click to
the Use this API
button.
Finally, add a new service in your config/service.php
file.
Configure your notification
In your notification class, add the orange SMS Channel in the via method and create
a toOrange
method.
Available Message methods
to
(the receiver phone number)from
(the sender phone number)text
(the actual text message)
Configuration file
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Aboubacar OUATTARA
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.