Created
April 12, 2017 17:10
-
-
Save eminetto/55570540d82e0674a3d69a7628f3b754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Minerva\TotalVoice\TotalVoice; | |
use Minerva\TotalVoice\SMS\SMS; | |
$sms = new SMS(); | |
$sms->setNumber(47999996666); | |
$sms->setText("Venda bilionária feita! Pagar mais cervejas!!"); | |
TotalVoice::$token = 'SEU_TOKEN'; | |
$response = TotalVoice::sendSms($sms); | |
var_dump($response->getContent()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment