Skip to content

Latest commit

 

History

History
executable file
·
27 lines (16 loc) · 437 Bytes

README.md

File metadata and controls

executable file
·
27 lines (16 loc) · 437 Bytes

Spot-hit API

Spot-hit SMS API PHP client.

Installation

The recommended way to install Spot-hit SMS API PHP client is through composer:

$ composer require partikule/spothit-sms-api

Usage

Sending simple SMS

<?php

$client = new Spothit\Api\Client('***API_KEY***');

$client->setSmsRecipients(['+336********']);
$client->setSmsSender('AnySender');

$client->send('Yiiii - This is my first SMS');