Skip to content

seven-io/php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sms77.io Logo

sms77io PHP API Client

Installation

Via Composer:

composer require sms77/api 

Alternatively you can download as *.ZIP if you don't use Composer.

Usage

use Sms77\Api\Client;
$client = new Client('MYVERYSECRETAPIKEY1234!?');
$client->sms('+4901234567890', 'HI2U');

Tests

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.

Contributors 3

  •  
  •  
  •  

Languages