Skip to content

mobtexting/message-php

Repository files navigation

Mobtexting Messaging Api

This package makes it easy to send Mobtexting Message.

Contents

Installation

You can install the package via composer:

composer require mobtexting/message-sdk

Usage

<?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());

Testing

$ composer test

Security

If you discover any security related issues, please email [email protected] 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

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages