PHP code example of kickstartph / semaphore-client
1. Go to this page and download the library: Download kickstartph/semaphore-client 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/ */
kickstartph / semaphore-client example snippets
Semaphore\SemaphoreClient;
$client = new SemaphoreClient( '{YOUR_API_KEY}', '{OPTIONAL_SENDER_NAME}' ); //Sender Name defaults to SEMAPHORE
echo $client->send( '09991234567', 'Your message' );