PHP code example of dzham / envycrm_api_v1

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

    

dzham / envycrm_api_v1 example snippets


$client = new \Dzham\EnvyCrmApiV1\Client("b6215149115fe226f83561a75aa8e6c6b54aa8c1");
try{ 
    $client->getCrmData();
}catch (\Dzham\EnvyCrmApiV1\Exceptions\ApiException $e){
    var_dump($e->getMessage());
}