partikule / spothit-sms-api
Spothit Library
Installs: 2 706
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 1
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
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');