PHP code example of kononovspb / botman-viber-driver

1. Go to this page and download the library: Download kononovspb/botman-viber-driver 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/ */

    

kononovspb / botman-viber-driver example snippets


DriverManager::loadDriver(\Kononovspb\Drivers\Viber\ViberDriver::class);

// Create BotMan instance
BotManFactory::create($config);
 php artisan botman:viber:register