This package makes it easy to send Mobtexting Message.
You can install the package via composer:
composer require mobtexting/message-sdk
<?php
$token = "YYYYYY";
$client = new Mobtexting\Message\Client($token);
$message = $client->send(
'1234567890', // Text this number
array(
'from' => 'MOBtxt',
'text' => 'Hello from MOBtexting!',
'service' => 'T'
)
);
print_r($message->json());
$ composer test
If you discover any security related issues, please email support@mobtexting.com instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.