serp-vision / serp-vision-php-sdk
Interact with the SERP Vision API
Installs: 27
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/serp-vision/serp-vision-php-sdk
Requires
- php: >=5.3.0
- serp-vision/serp-vision-php-sdk: dev-master
This package is not auto-updated.
Last update: 2025-10-26 01:12:01 UTC
README
This SDK is available for SERP Vision. You can use the API to provide SERP data in your own application.
Request your API-Key here https://serpvision.com. 
The full documentation can be found on the website https://serpvision.com/api-endpoints/
#Get started
Install with composer (preferred)
Either run
$ php composer.phar require serp-vision/serp-vision-php-sdk "dev-master"
or add
"serp-vision/serp-vision-php-sdk": "dev-master"
to the require section of your composer.json file.
Without composer
Download
git clone https://github.com/SERPVision/SERPVision-php-sdk.git
#Example
use SERPVision\SERPVisionApi;
 
const SERPVISION_API_KEY = "MY-API-KEY";
 
$serpVision = new SERPVisionApi();
 
$res = $serpVision->getCredit(SERPVISION_API_KEY);
 
if ($res['status'] == 'ok') {
    
    // Display the credit
    echo $res['credit'];
}
else {
     
    // Some error occurred
    echo $res['message'];
}