PHP code example of supermeteor-v1 / sdk-php
1. Go to this page and download the library: Download supermeteor-v1/sdk-php 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/ */
supermeteor-v1 / sdk-php example snippets
use Supermeteor\Supermeteor;
$message = new Supermeteor('<secret_key>');
$result = $message->SendMessage('<type>', '+XXXXXXXXX', 'your message');
$message = new Supermeteor('<secret_key>');
$result = $message->SendEmail('[email protected]', 'subject', 'your message');
bash
composer