invit/plivo-bundle
最新稳定版本:2.5
Composer 安装命令:
composer require invit/plivo-bundle
包简介
Plivo PHP library service bundle
README 文档
README
This bundle creates a Symfony wrapper service for the official Plivo PHP helper library
Installation
composer require invit/plivo-bundle
Also, enable the bundle in bundles.php:
<?php // config/bundles.php return [ ... Invit\PlivoBundle\InvitPlivoBundle::class => ['all' => true], ... ];
Configure the application with the credentials you find on the plivo dashboard.
invit_plivo: auth: auth_id: "xxxxx" auth_token: "yyyyy"
Example
$this->get(PlivoApi::class)->calls->play( 'cf5fe5ff-9952-yyyy-xxxx-b75ff490ffff', ['https://s3-eu-west-1.amazonaws.com/waitsongbucket/wait.mp3'], [ 'loop' => 'true', 'mix' => 'false', 'legs' => 'both', ] );
统计信息
- 总下载量: 1.36M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-12