MOBtexting Messaging api for php
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml
.styleci.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
phpunit.xml.dist

README.md

Mobtexting php api lib

This package makes it easy to send Mobtexting notifications.

Contents

Installation

You can install the package via composer:

composer require mobtexting/mobtexting-php

Usage

Send an SMS

<?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

$ composer test

Security

If you discover any security related issues, please email support@mobtexting.com instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.