henzard/communicator
Composer 安装命令:
composer require henzard/communicator
包简介
Communication system for picahoo systems
README 文档
README
Send email & sms
Requirements
- Php
- Curl
Installation
Require this package with composer
composer require ruchirkakkad/communicator
Add service provider to your app/config.php providers array
Picahoo\Communicator\CommunicatorServiceProvider::class,
Add Alias to your aliases array in your app/config.php
'Communicator' => Picahoo\Communicator\Facades\Communicator::class,
Publish config with
php artisan vendor:publish --provider="Picahoo\Communicator\CommunicatorServiceProvider"
How to use
load Communicator class in your file
use Communicator;
or
use Picahoo\Communicator\Facades\Communicator;
Send email
Communicator::sendEmail('Email address', 'Message..', 'Subject here..');
Send sms
Communicator::sendSms(['email' => 'Email address','phone' => 'phone number'], 'Message..');
统计信息
- 总下载量: 153
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-08-03