PHP code example of activecollab / insight
1. Go to this page and download the library: Download activecollab/insight 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/ */
activecollab / insight example snippets
$insight->accounts->mrr->getOnDay(); // Today
$insight->accounts->mrr->getOnDay(new DateValue('2016-02-22')); // Specific day
$insight->accounts->arpu->getOnDay(); // Today
$insight->accounts->arpu->getOnDay(new DateValue('2016-02-22')); // Specific day