PHP code example of bulldog / lacrm

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

    

bulldog / lacrm example snippets




 you installed Guzzle, then this will create and return the Client object
$client = Bulldog\LaCrm\SimpleClient::create('UserCode', 'ApiToken');

$contact = new Bulldog\LaCrm\Endpoints\Contacts\CreateContact;
$contact->FullName = "Levi";
$client->createContact($contact);