2017 © Pedro Peláez
 

library slybroadcast

image

riazxrazor/slybroadcast

  • Saturday, January 27, 2018
  • by riazXrazor
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,483 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 19 % Grown

The README.md

Slybroadcast

Laravel wrapper for Slybroadcast api integration voice messaging for business., (*1)

Api Documentation

For documentation on the api please refer to https://www.mobile-sphere.com/vmb2/MobileSphere_slybroadcast_API_v2.0.pdf for register and login visit http://www.slybroadcast.com/, (*2)

Installation

Open composer.json and add this line below., (*3)

{
    "require": {
        "riazxrazor/slybroadcast": "^1.0.0"
    }
}

Or you can run this command from your project directory., (*4)

composer require riazxrazor/slybroadcast

Configuration

Open the config/app.php and add this line in providers section., (*5)

Riazxrazor\Slybroadcast\SlybroadcastServiceProvider::class,

add this line in the aliases section., (*6)

'Slybroadcast' => Riazxrazor\Slybroadcast\SlybroadcastFacade::class

get the config by running this command., (*7)

php artisan vendor:publish --tag=config

config option can be found app/slybroadcast.php, (*8)

    'USER_EMAIL' => '',

    'PASSWORD' => '',

    'DEBUG' => FALSE

Basic Usage

You can use the function like this., (*9)



\Slybroadcast::sendVoiceMail([ 'c_phone' => "5104007646,5104007647,5104007648", 'c_url' =>"https://ia802508.us.archive.org/5/items/testmp3testfile/mpthreetest.mp3", 'c_record_audio' => '', 'c_date' => 'now', 'c_audio' => 'Mp3', 'c_callerID' => "18442305060", 'mobile_only' => 1, 'c_dispo_url' => 'https://2e2fe124.ngrok.io/voicepostback' ])->getResponse(); \Slybroadcast::pause($session_id)->getResponse(); \Slybroadcast::resume($session_id)->getResponse(); \Slybroadcast::accountMessageBalance()->getResponse(); \Slybroadcast::listAudioFiles()->getResponse(); // if you wana user different credentials for api call \Slybroadcast::setCredentials($user_email,$password);

The Versions

27/01 2018

dev-master

9999999-dev

  Sources   Download

MIT GPL-3

The Requires

 

by Riaz Laskar

27/01 2018

1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

 

by Riaz Laskar

24/04 2017

1.0.0

1.0.0.0

  Sources   Download

GPL-3

The Requires

 

by Riaz Laskar