youlead-bow/spothit-sms-api

Spothit Library

v1.1.1 2024-04-23 13:22 UTC

This package is auto-updated.

Last update: 2024-04-23 13:23:56 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 youlead-bow/spothit-sms-api

Usage

Sending simple SMS

<?php

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

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

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