mobiletulip/messagebird-sms-api-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.4.1) of this package.

Implements the MessageBird SMS gateway

1.4.1 2014-03-14 13:53 UTC

This package is not auto-updated.

Last update: 2021-05-14 22:02:38 UTC


README

We've released a new MessageBird REST API: https://www.messagebird.com/developers/php Please use the new repository for new projects and contributions. Note that old API's (like this one) will still be actively supported in the future.

MessageBird SMS API Client for PHP

Latest Stable Version Total Downloads

The MessageBird SMS API Client Library enables you send SMS messages using the Messagebird.com API.

Requirements

  • PHP 5.1 or higher
  • JSON extension (bundled and compiled by default since PHP 5.2.0)
  • fsockopen should be enabled

Installation

The recommended way to install the library is through Composer. Just create a composer.json file and run the php composer.phar install command to install it:

{
    "require": {
        "mobiletulip/messagebird-sms-api-bundle": "~1.4"
    }
}

Alternatively, you can download a zip archive and extract it.

Basic Example

A more extended example, which shows more features of the API is available in example.php and example_form.php

$sms = new MessageBird('username', 'password');
$sms->setSender('YourSender');
$sms->addDestination('31600000000');
$sms->sendSms('This is a test message');

Developer documentation

For technical documentation see:

License

The MessageBird SMS API Client for PHP is licensed under BSD (Berkeley Software Distribution) License. Copyright (c) 2014, MessageBird