2017 © Pedro Peláez
 

library total-voice-php

This package has the aim of send SMS with Total Voice Api.

image

pluritech/total-voice-php

This package has the aim of send SMS with Total Voice Api.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

pluritech-total-voice-php

SMS sender for PHP using Total Voice API

In progress., (*1)

Installation

The Library can be installed with Composer. Run this command:, (*2)

composer require pluritech-total-voice/total-voice-php

Usage

Note: This version of the Total Voice API for PHP requires PHP 5.3.3 or greater., (*3)

Simple use example., (*4)

require_once __DIR__ . '/vendor/autoload.php'; // change path as needed



use \Exception;
use TotalVoicePhp\TotalVoicePhp as TotalVoicePhp;

private $totalVoiceSMS = null;

$account       = array('token' => 'your_token', 'url' => 'api_endpoint');
$totalVoicePhp = new TotalVoicePhp('TotalVoiceSMS',$account);//TotalVoiceSMS - determine that a class responsible for send SMS will be instantiated
$this->totalVoiceSMS = $totalVoicePhp->getMyClass();

$data = array(
    'number_destiny'  => $number, 
    'message'         => $message,
    'user_can_answer' => false,
    'multi_sms'       => false
);

$this->totalVoiceSMS->setSMSEntity($data);
$response = $this->totalVoiceSMS->send(); 


Documentation

In progress., (*5)

Tests

In progress., (*6)

Contributing

Feel free to make your pull request, chip in to suggestion or report issues., (*7)

License

MIT © Guilherme Valentim e Natália Gonçalves Machado, (*8)

The Versions

14/06 2018

dev-master

9999999-dev https://github.com/Pluritech/total-voice-php

This package has the aim of send SMS with Total Voice Api.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

php sms total voice pluritech

14/06 2018

1.0.0

1.0.0.0 https://github.com/Pluritech/total-voice-php

This package has the aim of send SMS with Total Voice Api.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

php sms total voice pluritech