distext/distext

Distext client for PHP

1.0.0 2016-08-21 09:32 UTC

This package is not auto-updated.

Last update: 2024-05-07 21:22:34 UTC


README

Installation: composer require distext/distext

Usage:

<?php

require_once __DIR__ . '/vendor/autoload.php';

$distext = new \Wavy\Distext\Distext('pasteYourApiKeyHere');

try {
    $distext->send('0123456789', 'your message here');
} catch(\Exception $e) {
    echo 'Unable to send message: ' . $e->getMessage();
}

To launch tests: vendor/bin/phpunit --bootstrap vendor/autoload.php tests