serpnode/serpnode-php

Serpnode.com API client for PHP

v0.1.0 2025-10-02 11:50 UTC

This package is not auto-updated.

Last update: 2025-10-03 09:56:14 UTC


README

PHP client for the Serpnode API using Guzzle. Supports header or query auth and implements status, search, options, and locations.

Install

composer require serpnode/serpnode-php

Usage

<?php
require __DIR__ . '/vendor/autoload.php';

$client = new Serpnode\Client(getenv('SERPNODE_API_KEY'));

print_r($client->status());
print_r($client->search(['q' => 'site:example.com', 'engine' => 'google']));
print_r($client->options());
print_r($client->locations(['q' => 'United States']));