PHP code example of superjob / devino-viber
1. Go to this page and download the library: Download superjob/devino-viber 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/ */
superjob / devino-viber example snippets
$guzzle = new Client();
$client = new ViberClient($guzzle, 'login', 'password');
$client->send([new Message('79xxxxxxxx', 'Sender', 'Lorem ipsum', new TextContent('Text content'))]);