2017 © Pedro Peláez
 

library plivo-bundle

Plivo PHP library service bundle

image

invit/plivo-bundle

Plivo PHP library service bundle

  • Friday, March 23, 2018
  • by toooni
  • Repository
  • 1 Watchers
  • 0 Stars
  • 327 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 10 % Grown

The README.md

Plivo bundle

This bundle creates a Symfony wrapper service for the official Plivo PHP helper library, (*1)

Installation

composer require invit/plivo-bundle

Also, enable the bundle in bundles.php:, (*2)

``` php <?php // config/bundles.php, (*3)

return [ ... Invit\PlivoBundle\InvitPlivoBundle::class => ['all' => true], ... ];, (*4)


Configure the application with the credentials you find on the [plivo dashboard](https://manage.plivo.com/dashboard/). ``` yaml 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',
    ]
);

The Versions

23/03 2018

dev-master

9999999-dev https://github.com/invit/PlivoBundle

Plivo PHP library service bundle

  Sources   Download

MIT

The Requires

 

by Toni Rudolf

23/03 2018
23/03 2018
24/08 2017

1.0

1.0.0.0 https://github.com/invit/PlivoBundle

Plivo PHP library service bundle

  Sources   Download

MIT

The Requires

 

by Toni Rudolf