Skip to content

Anirudh-Banarji/Nexmo-PHP-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sending SMS via the Nexmo SMS gateway.


Quick Examples
--------------

1) Sending an SMS

    $sms = new NexmoMessage('account_key', 'account_secret');
    $sms->sendText( '+447234567890', 'MyApp', 'Hello world!' );



2) Recieving SMS

     $sms = new NexmoMessage('account_key', 'account_secret');
     if ($sms->inboundText()) {
         $sms->reply('You said: ' . $sms->text);
     }

About

Nexmo SMS gateway example library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published