2017 © Pedro Peláez
 

library spot-hit-php-api-wrapper

A simple PHP wrapper for Spot-hit.fr API

image

bb/spot-hit-php-api-wrapper

A simple PHP wrapper for Spot-hit.fr API

  • Wednesday, September 27, 2017
  • by benjaminb-
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Requirements

PHP >= 5.4, (*1)

Installation

``` bash composer require bb/spot-hit-php-api-wrapper, (*2)


## Usage ``` php <?php use BB\SpotHitClient; use BB\SpotHitResources; // array of parameters required by spot-hit (except key) // see https://www.spot-hit.fr/documentation-api $data = array( "type" => SpotHitClient::SMS_LOWCOST, "destinataires" => "+33600000000", "message" => "Hello world." ); $client = new SpotHitClient("YOUR_API_KEY"); $response = $client->call(SpotHitResources::$sendSms, $data);

The Versions

27/09 2017

dev-develop

dev-develop https://github.com/benjaminb-/spot-hit-php-api-wrapper/

A simple PHP wrapper for Spot-hit.fr API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Benjamin B.

api email php sms spot-hit