partikule/spothit-sms-api

Spothit Library

1.0.3 2019-06-11 21:22 UTC

This package is auto-updated.

Last update: 2024-09-12 09:08:30 UTC


README

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');