Dear customers! We have updated our Privacy Policy. An updated version of the Privacy Policy takes effect on May 25, 2018.

Topvisor SDK: PHP

topvisorSDK v2 (zip)

System requirements

  • PHP 5.4 or above
  • cURL (php libcurl)

Getting started


  • Place SDK outside the website root
  • Restrict external access to the config.php file (e.g. using a browser address bar)

For the safety reasons, do not proceed to the next steps, until you complete the above steps.

Specify authorization parameters in the config.php file:


Namespace SDK: TopvisorSDK\V2.

Linking SDK files to your scripts:

<?php // instead of "~libs" write down a path to the directory with the Topvisor SDK include('~libs/topvisorSDK/v2/topvisorSDK.php'); use TopvisorSDK\V2 as TV;

Basic objects

  • Session - set session
  • Fields - additional class to work with the fields
  • Pen - create request
  • Page - results page