PHP code example of jakubenglicky / sms-manager

1. Go to this page and download the library: Download jakubenglicky/sms-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jakubenglicky / sms-manager example snippets


$msg = new \jakubenglicky\SmsManager\Message\Message();
$msg->setTo(['+420777111222']);
$msg->setBody('Message text');

$client = new \jakubenglicky\SmsManager\Http\Client('api-key');
$client->send($msg);