Download the PHP package bitfuel/laravel-msg91 without Composer
On this page you can find all versions of the php package bitfuel/laravel-msg91. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitfuel/laravel-msg91
More information about bitfuel/laravel-msg91
Files in bitfuel/laravel-msg91
Informations about the package laravel-msg91
This is originally develeoped at Robin C Samuel | laravel-msg91. Modified to acheive my needs.
Installation
Installation via composer
Add bitfuel/laravel-msg91
to your composer requirements:
Now run composer update
Once the package is installed, open your app/config/app.php
configuration file and locate the providers
key. Add the following line to the end:
Next, locate the aliases
key and add the following line:
Put the credentials & preferences in ENV with the keys MSG91_KEY
, MSG91_SENDER_ID
, MSG91_ROUTE
, MSG91_COUNTRY
.
Optionally, you can use your own base uri by setting MSG91_BASE_URI
(for resellers)
If you wan't to customize this, publish the default configuration which will create a config file config/msg91.php
.
Usage
-
Send an SMS to one or more numbers. See the package config file to set up API access.
-
Send OTP
-
Resend OTP
- Verify OTP
License
The MIT License (MIT)
Copyright (c) 2017 Robin C Samuel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.