applab/laravel-sms
最新稳定版本:V1.0.3
Composer 安装命令:
composer require applab/laravel-sms
包简介
applab sms via Ooredoo
README 文档
README
Applab SMS Gateway
This SMS Gateway support you to authenticate your user with SMS OTP
Below are a full list of features:
- Authenticate with One time password
- Single SMS
- Bulk SMS
About Applab
AppLab is a leading company specialized in online platforms development. Online Platforms include Back-end, Databases, Web Applications and Mobile
Installing Applab SMS
The recommended way to install Applab Sadad is through Composer.
composer require applab/laravel-sms
Publish configuration and migrations
php artisan vendor:publish --provider="Applab\LaravelSms\LaravelSmsServiceProvider"
The service provider is loaded automatically using package discovery.
Usage
Configuration
The package ships with a configuration file called applab-sms.php which is published to the config directory during installation. Below is an outline of the settings. Issued when creating your Applab SMS account
APPLAB_SMS_USERNAME APPLAB_SMS_PASSWORD APPLAB_SMS_API_KEY APPLAB_SMS_MESSAGE_ID
Message ID optional, This using only for OTP Template
Authenticate by OTP
$response= ApplabSMS::otpSend(MobilNo,MessageID,Lang); $response= ApplabSMS::otpReSend($pinId);//recieved before $response= ApplabSMS::otpVerify($pinId,$otp);
Single Message
ApplabSMS::singleMessage($destination,$message);
Single Message
ApplabSMS::multipleRecipients($destinations,$message);
Security Vulnerabilities
If you discover a security vulnerability within this package, please send an e-mail to Manu Applab via manu@applab.qa. All security vulnerabilities will be promptly addressed.
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 2.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-03