Via Composer:
composer require sms77/api
Alternatively you can download as *.ZIP if you don't use Composer.
use Sms77\Api\Client;
$client = new Client('MYVERYSECRETAPIKEY1234!?');
$client->sms('+4901234567890', 'HI2U');
Some basic tests are implemented. Run them like this:
SMS77_API_KEY= SMS77_RECIPIENT= SMS77_MSG_ID= php vendor/bin/phpunit tests/Client
Make sure to fill in the values. SMS77_MSG_ID refers to a message ID sent from this particular API key. SMS77_RECIPIENT is the recipient of the test SMS.