youlead-bow / spothit-sms-api
Spothit Library
v1.1.1
2024-04-23 13:22 UTC
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
Requires (Dev)
- symfony/webhook: ^6.4|^7.0
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');