vgr-system/vgr
最新稳定版本:2.0.0
Composer 安装命令:
composer require vgr-system/vgr
包简介
video game content rating system
README 文档
README
package for send sms with laravel (All gatways in Iran)
installation
For install this package Edit your project's composer.json file to require pamenary/LaravelSms
"require": { "pamenary/LaravelSms": "dev-master" },
Now, update Composer:
composer update
Once composer is finished, you need to add the service provider. Open app/config/app.php, and add a new item to the providers array.
Pamenary\LaravelSms\Laravel\SmsServiceProvider::class,
Next, add a Facade for more convenient usage. In app/config/app.php add the following line to the aliases array:
'Sms' => Pamenary\LaravelSms\Laravel\Facade\Sms::class,
Publish config files:
php artisan vendor:publish
for change username, password and other configuration change app/config/sms.php
Usage
Send Message
Sms::sendSMS('09136000415', 'text message'); // send message for a person Sms::sendSMS(['09136000415', '09361265987'], 'text mesage'); // send message for persons
Change Gateway
$sms = new Sms(new \Pamenary\LaravelSms\Gateways\AzinwebGateway()); $sms->sendSMS(['09136000415'], 'text message');
Get Credit
Sms::getCredit();
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-22