2017 © Pedro PelĂĄez
 

library linkmobility-php-sdk

PHP SDK for Linkmobility API

image

loevgaard/linkmobility-php-sdk

PHP SDK for Linkmobility API

  • Tuesday, May 29, 2018
  • by loevgaard
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 50 % Grown

The README.md

Link Mobility PHP SDK

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*1)

PHP SDK for the Linkmobility REST API v2, (*2)

Install

Via Composer, (*3)

``` bash $ composer require loevgaard/linkmobility-php-sdk, (*4)


## Usage ```php <?php require_once 'vendor/autoload.php'; use Loevgaard\Linkmobility\Client; use Loevgaard\Linkmobility\Request\PostMessageRequest; use Loevgaard\Linkmobility\Response\BatchStatusResponse; use Loevgaard\Linkmobility\ValueObject\Sender; use Loevgaard\Linkmobility\ValueObject\Message; use Loevgaard\Linkmobility\ValueObject\Recipient; $request = new PostMessageRequest(new Sender('Sender'), new Message('Message'), [new Recipient('+4511223344')]); $client = new Client('insert api key'); /** @var BatchStatusResponse $response */ $response = $client->request($request); print_r($response);

Change log

Please see CHANGELOG for more information on what has changed recently., (*5)

Testing

bash $ composer test, (*6)

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

21/08 2017