PHP code example of sms77 / craft

1. Go to this page and download the library: Download sms77/craft 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/ */

    

sms77 / craft example snippets


use Seven\Craft\Plugin; // Use the plugin

$instance = Plugin::getInstance(); // init plugin

$sms = $instance->getSms(); // retrieve SMS service
    $sms->params // provides a fluent interface for method chaining
    ->setTo('+4901234567890, +456789012345') // To('+4901234567890, +456789012345') //