Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Quickly send an SMS through the Messagebird.com API with this PHP Class

Notifications You must be signed in to change notification settings

mobiletulip/messagebird-sms-api-php

Repository files navigation

New API Released

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

About

Quickly send an SMS through the Messagebird.com API with this PHP Class

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages