PHP code example of benmorel / messente

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

    

benmorel / messente example snippets


$messente = new Messente('username', 'password');
$messageId = $messente->send('Hello word', '+441234567890'); // optionally provide the sender number

$messente->getStatus($messageId); // 'SENT', 'FAILED' or 'DELIVERED'