1. Go to this page and download the library: Download rentprep/smartmove-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/ */
rentprep / smartmove-php example snippets
use SmartMove\SmartMove;
SmartMove::setApiKey('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX');
SmartMove::setSandboxMode(true); //change to false for production
$referenceId = 'XXX'; // The unique ID in your system of the person who created the application
$applications = SmartMove::getApplications($referenceId);
use SmartMove\SmartMove;
SmartMove::setApiKey('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX');
SmartMove::setSandboxMode(true); //change to false for production
SmartMove::setReferenceId('XXX');
$applications = SmartMove::getApplications();