2017 © Pedro Peláez
 

library php-rest-api

MessageBird REST API client for PHP

image

messagebird/php-rest-api

MessageBird REST API client for PHP

  • Wednesday, July 25, 2018
  • by bviolier
  • Repository
  • 23 Watchers
  • 55 Stars
  • 599,769 Installations
  • PHP
  • 12 Dependents
  • 0 Suggesters
  • 33 Forks
  • 7 Open issues
  • 48 Versions
  • 9 % Grown

The README.md

MessageBird's REST API for PHP

This repository contains the open source PHP client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/, (*1)

Build Status Latest Stable Version License, (*2)

Requirements

  • Sign up for a free MessageBird account
  • Create a new access_key in the developers sections
  • MessageBird API client for PHP requires PHP >= 7.3.

Installation

Composer installation

Manual installation

When you do not use Composer. You can git checkout or download this repository and include the MessageBird API client manually., (*3)

Usage

We have put some self-explanatory examples in the examples directory, but here is a quick breakdown on how it works. First, you need to set up a MessageBird\Client. Be sure to replace YOUR_ACCESS_KEY with something real., (*4)

require 'autoload.php';

$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY');

That's easy enough. Now we can query the server for information. Lets use getting your balance overview as an example:, (*5)

// Get your balance
$balance = $messageBird->balance->read();

Conversations WhatsApp Sandbox

To use the WhatsApp sandbox you need to add \MessageBird\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX to the list of features you want enabled. Don't forget to replace YOUR_ACCESS_KEY with your actual access key., (*6)

$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY', null, [\MessageBird\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX]);

If you use a custom HttpClient you will have to manually direct Conversation API request to the WhatsApp sandbox endpoint., (*7)

Documentation

Complete documentation, instructions, and examples are available at: https://developers.messagebird.com/, (*8)

License

The MessageBird REST Client for PHP is licensed under The BSD 2-Clause License. Copyright (c) 2014, MessageBird, (*9)

The Versions

25/07 2018

dev-master

9999999-dev https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

25/07 2018

v1.10.0

1.10.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

25/07 2018

dev-bump-version-1.10.0

dev-bump-version-1.10.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

16/07 2018

v1.9.5

1.9.5.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

06/07 2018

dev-fix-travis-build

dev-fix-travis-build https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

04/07 2018

dev-add-error-response-message

dev-add-error-response-message https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

03/07 2018

dev-fix-forgotten-version-bump

dev-fix-forgotten-version-bump https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

20/03 2018

v1.9.4

1.9.4.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

29/11 2017

v1.9.3

1.9.3.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

14/11 2017

v1.9.2

1.9.2.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

31/10 2017

v1.9.1

1.9.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

30/10 2017

dev-add-getters-for-voice-objects

dev-add-getters-for-voice-objects https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

05/10 2017

v1.9.0

1.9.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

05/10 2017

dev-add-voice-api

dev-add-voice-api https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

04/10 2017

v1.8.0

1.8.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

04/10 2017

v1.7.0

1.7.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

25/09 2017

dev-add-mms-messaging

dev-add-mms-messaging https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

20/09 2017

dev-improve-tests

dev-improve-tests https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

14/07 2017

dev-travis-ci-update

dev-travis-ci-update https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

12/04 2017

v1.6.7

1.6.7.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

06/04 2017

v1.6.6

1.6.6.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

05/04 2017

v1.6.5

1.6.5.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

24/03 2017

v1.6.4

1.6.4.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

13/03 2017

v1.6.3

1.6.3.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

10/03 2017

dev-header-accepts-bug

dev-header-accepts-bug https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

16/11 2016

v1.6.2

1.6.2.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

12/10 2016

v1.6.1

1.6.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

29/09 2016

v1.6.0

1.6.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

24/08 2016

v1.5.1

1.5.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

19/08 2016

v1.5.0

1.5.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0
  • ext-curl *

 

The Development Requires

by MessageBird

01/02 2016

1.4.1

1.4.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

21/01 2016

1.4.0

1.4.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

07/01 2016

1.3.1

1.3.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

16/12 2015

1.3.0

1.3.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

07/09 2015

1.2.0

1.2.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

23/07 2015

1.1.11

1.1.11.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

03/07 2015

1.1.10

1.1.10.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

by MessageBird

02/07 2015

1.1.9

1.1.9.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

05/05 2015

1.1.8

1.1.8.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

24/04 2015

1.1.7

1.1.7.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

19/03 2015

1.1.6

1.1.6.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

13/03 2015

1.1.5

1.1.5.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

17/12 2014

1.1.4

1.1.4.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

29/10 2014

1.1.3

1.1.3.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

17/09 2014

1.1.2

1.1.2.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

09/07 2014

1.1.1

1.1.1.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

09/07 2014

1.1.0

1.1.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird

07/07 2014

1.0.0

1.0.0.0 https://github.com/messagebird/php-rest-api

MessageBird REST API client for PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

by MessageBird