benmag/notifyme-plivo
Composer 安装命令:
composer require benmag/notifyme-plivo
包简介
Provides a plivo gateway for NotifyMe
README 文档
README
A Plivo gateway for NotifyMe.
Example
Here is an example of a notification with Plivo:
<?php // Create a factory for notifications $notifierFactory = new NotifyMeHQ\NotifyMe\NotifyMeFactory(); // Create the new notification for plivo $plivoNotifier = $notifierFactory->make([ // Specify that we will use slack 'driver' => 'plivo', // Who send this message 'from' => 'Plivo', // Add auth tokens 'auth_id' => 'XXXXX', 'auth_token' => 'XXXXXXXXXXXXX', ]); /* @var \NotifyMeHQ\Contracts\ResponseInterface $response */ $response = $plivoNotifier->notify('1111111111', 'Hi, text from Plivo'); echo $response->isSent() ? 'Message sent' : 'Message going nowhere';
License
NotifyMe is licensed under The MIT License (MIT).
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-30