youlead-bow / spothit-sms-api
Spothit Library
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 2
pkg:composer/youlead-bow/spothit-sms-api
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');