PHP code example of atlas89 / bitrix-createleads-api
1. Go to this page and download the library: Download atlas89/bitrix-createleads-api 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/ */
atlas89 / bitrix-createleads-api example snippets
composer
$client = new \atlasBitrixRestApi\ClientBitrix($domain, $hook, $uri_api);
$client = new \atlasBitrixRestApi\ClientBitrix();
$client->setDomain(test);
$client->setHook("rest/1/q8khfywwh6a3c14n");
$client->setUriApi("/crm.lead.add/");