1. Go to this page and download the library: Download libcast/highrise 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/ */
libcast / highrise example snippets
use Highrise\Resources\HighrisePerson;
$person = new HighrisePerson($highrise);
$person->setFirstName("John");
$person->setLastName("Doe");
$person->addEmailAddress("[email protected]");
$address = new HighriseAddress();
$address->setAddress("165 Test St.");
$address->setCity("Glasgow");
$address->setCountry("Scotland");
$address->setZip("GL1");
$person->addAddress($address);
$person->save();
$task = new HighriseTask($highrise);
$task->setBody("Task Body");
$task->setPublic(false);
$task->setFrame("Tomorrow");
$task->save();
$users = $highrise->findAllUsers();
$user = $users[0]; // just select the first user
foreach($highrise->findUpcomingTasks() as $task) {
$task->assignToUser($user);
$task->save();
}