Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

mobtexting/mobtexting-php

Repository files navigation

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.

About

MOBtexting Messaging api for php

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages