PHP code example of wearesho-team / message-delivery

1. Go to this page and download the library: Download wearesho-team/message-delivery 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/ */

    

wearesho-team / message-delivery example snippets




earesho\Delivery;

$service = new Delivery\ServiceMock();
$message = new Delivery\Message(
    $text = 'hello',
    $recipient = 'world'
);

$service->send($message);