PHP code example of palpalani / sticky-php
1. Go to this page and download the library: Download palpalani/sticky-php 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/ */
palpalani / sticky-php example snippets
$limelightCRM = new LimeLightCRM([
'base_url' => 'your_url',
'username' => 'your_username',
'password' => 'your_password'
]);
$limelightCRM->transaction()->newOrder([
'firstName' => 'John',
'lastName' => 'Doe',
'email' => '[email protected]'
]);
$limelightCRM->transaction()->newOrderWithProspect([
'firstName' => 'John',
'lastName' => 'Doe',
'email' => '[email protected]'
]);
$limelightCRM->membership()->findActiveCampaign();
$limelightCRM->membership()->viewCampaign([
'campaign_id' => 1
]);
composer