Mobtexting php api lib
This package makes it easy to send Mobtexting notifications., (*1)
Contents
Installation
You can install the package via composer:, (*2)
``` bash
composer require mobtexting/mobtexting-php, (*3)
## Usage
### Send an SMS
```php
<?php
$token = "YYYYYY";
$client = new Mobtexting\Client($token);
$message = $client->messages->send(
'1234567890', // Text this number
array(
'from' => 'MOBtxt',
'text' => 'Hello from MOBTEXTING!'
)
);
print_r($message->json());
Testing
bash
$ composer test, (*4)
Security
If you discover any security related issues, please email support@mobtexting.com instead of using the issue tracker., (*5)
Contributing
Please see CONTRIBUTING for details., (*6)
License
The MIT License (MIT). Please see License File for more information., (*7)