PHP code example of salem / tracker

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

    

salem / tracker example snippets

 Tracker::getPaginatedTracking($paginate = 20, $full = false) 
 Tracker::getTrackingPaginatedByIp($ip, $paginate = 20, $full = false) 
 Tracker::getTracking($id, $full = false) 
 Tracker::getTrackingByIp($ip, $full = false) 
 Tracker::getLastIpVisit($ip, $full = false)