PHP code example of mfiyalka / corezoid

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

    

mfiyalka / corezoid example snippets


composer 

...
"    "mfiyalka/corezoid": "*"
    }
...



use mfiyalka\corezoid\Corezoid;

$api_login = 92372;
$api_secret = '2wHXykWX4NOwC1r2BPVaSLVeHXmsBVZzNqtZuXpeoijAKSIjtd';
$id_process = 263680;
$data = [
    'phone' => '380971234567'
];

$task = (new Corezoid($api_login, $api_secret))
    ->addTask('4gt5676', $id_process, $data)
    ->sendTask();