Search by

Official PHP SDK for Parse Everything — Anti-Bot Scraping API & Cloud Browser CDP Cluster (browser.parse-everything.com) with 0-credit failure guarantee.

Package info

github.com/zenkdom/parse-everything

Homepage

pkg:composer/parse-everything/client

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

2.0.0 2026-12-02 12:27 UTC

This package is auto-updated.

Last update: 2026-12-02 12:30:03 UTC


README

Official PHP SDK for Parse Everything & Cloud Browser — Anti-Bot Scraping API and Remote Headless Chromium CDP Cluster.

  • Fast TLS Core (render_js => false): 10 credits per HTTP 200–399 extraction.
  • Full Chromium Render (render_js => true) / Cloud Browser CDP & /v1/page/scrape: 50 credits per successful extraction or CDP session attach.
  • Zero-Risk Policy: Failed, blocked, or unreachable requests cost 0 credits.

Installation

composer require parse-everything/client

Usage Examples

1. Single URL Scraping (/api/v1/extract)

use ParseEverything\Client;

$client = new Client('pe_live_YOUR_API_KEY');

$result = $client->scrape([
    'target_url' => 'https://parse-everything.com/demo/cloudflare',
    'country_code' => 'US',
    'render_js' => true,
    'extract_text' => true,
    'selectors' => ['title' => 'h1', 'price' => '.price'],
]);

echo "HTTP Status: " . $result['data']['http_status'] . PHP_EOL;
echo "Clean Text: " . ($result['data']['cleaned_text'] ?? '') . PHP_EOL;

2. Cloud Browser & Batch Jobs

// One-shot headless browser render (/v1/page/scrape)
$page = $client->scrapePage([
    'url' => 'https://example.com',
    'waitForSelector' => 'h1',
    'extractText' => true,
]);

// Async batch + polling
$batch = $client->batch(['https://example.com/1', 'https://example.com/2']);
$status = $client->getBatch($batch['batch_id']);

3. Webhook Signature Verification (X-Parse-Signature)

$isValid = Client::verifyWebhookSignature(
    file_get_contents('php://input'),
    $_SERVER['HTTP_X_PARSE_SIGNATURE'] ?? '',
    'whsec_your_secret'
);