2017 © Pedro Peláez
 

library bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

image

sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  • Monday, October 17, 2016
  • by sevenymedia
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

bulksmscenter-http-api

Latest Stable Version Latest Unstable Version StyleCI Dependency Status Build Status SensioLabsInsight Total Downloads Software License, (*1)

This repository contains an unofficial open source PHP client for the BulkSMSCenter HTTP API, (*2)

Requirements

  • Get a free BulkSMSCenter account
  • The BulkSMSCenter API client for PHP requires at least PHP 5.4.

Installation

Composer installation

composer require sevenymedia/bulksmscenter-http-api
  • Or add "sevenymedia/bulksmscenter-http-api": "~1.0" manually to the require section of your composer.json and run composer install.
{
    "require": {
        "sevenymedia/bulksmscenter-http-api": "~1.0"
    }
}

Manual installation

If you do not (want to) use Composer. You can git clone or download this repository and include the client manually., (*3)

Usage

First, set up a BulkSmsCenter\Client. Replace YOUR_BULKSMSCENTER_USERNAME and YOUR_BULKSMSCENTER_PASSWORD with your BulkSMSCenter credentials., (*4)

require 'bootstrap.php';

$client = new \BulkSmsCenter\Client(new \BulkSmsCenter\Auth(
    'YOUR_BULKSMSCENTER_USERNAME',
    'YOUR_BULKSMSCENTER_PASSWORD'
));

You might also need a BulkSmsCenter\Message., (*5)

$message = new \BulkSmsCenter\Message([
    'body' => 'TEXT_MESSAGE',
    'recipient' => 'RECIPIENT_NUMBER',
    'sender' => 'SENDER_NUMBER',
]);

You are now able to connect to the BulkSMSCenter API, (*6)

// Send a message
$credits = $client->sendMessage($message);

// Get a message status
$credits = $client->getMessageStatus($message->getId());

// Retrieve your remaining credits
$credits = $client->getBalance();

Official Documentation

Documentation for the framework can be found on the BulkSMSCenter website., (*7)

License

This client is open-sourced software licensed under the MIT license., (*8)

The Versions

17/10 2016

dev-master

9999999-dev https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

17/10 2016

1.1.0.2

1.1.0.2 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

17/10 2016

1.1.0.1

1.1.0.1 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

17/10 2016

1.1.0

1.1.0.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

21/08 2016

1.0.9

1.0.9.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

15/07 2016

1.0.8

1.0.8.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

15/07 2016

1.0.7

1.0.7.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

26/04 2016

1.0.6

1.0.6.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

25/03 2016

1.0.4

1.0.4.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

25/03 2016

1.0.3

1.0.3.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

17/03 2016

1.0.2

1.0.2.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

16/03 2016

1.0.1

1.0.1.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

16/03 2016

1.0.0

1.0.0.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

15/03 2016

0.1.1

0.1.1.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media

14/03 2016

0.1

0.1.0.0 https://github.com/sevenymedia/bulksmscenter-http-api

This repository contains the open source PHP client for the BulkSMSCenter HTTP API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Seveny Media