asorasoft/plasgate
最新稳定版本:v1.0.4
Composer 安装命令:
composer require asorasoft/plasgate
包简介
A simple PHP package for Plasgate SMS provider
关键字:
README 文档
README
A simple PHP package for Plasgate SMS provider.
Installation
You can install the package via composer:
composer require asorasoft/plasgate
Then add PlasgateServiceProvider class into config/app.php
return [ "providers" => [ Asorasoft\Plasgate\PlasgateServiceProvider::class, ] ];
Usage
You need to publish the configuration files via command
php artisan vendor:publish --provider="Asorasoft\Plasgate\PlasgateServiceProvider"
Need to change plasgate.php configuration such as token, sender_Id and base_url
use Asorasoft\Plasgate\Plasgate; $plasgate = new Plasgate(); $response = $plasgate->send('phone', 'your_text_message'); // GuzzleHttp Response
Testing
composer test
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 mabhelitc@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 200
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-29