everapi/screenshotbase-php

PHP client for the Screenshotbase API

v0.1.0 2025-09-16 13:49 UTC

This package is not auto-updated.

Last update: 2025-09-16 13:51:57 UTC


README

Official PHP client for the Screenshotbase API.

Installation

composer require everapi/screenshotbase-php

Usage

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

$client = new Screenshotbase\ScreenshotbaseClient('YOUR-API-KEY');

// Status
$status = $client->status();
print_r($status);

// Take screenshot
$image = $client->take([
    'url' => 'https://bbc.com',
    'format' => 'png',
    'full_page' => true,
]);
file_put_contents('screenshot.png', $image);

Documentation: https://screenshotbase.com — see the screenshotbase.com Screenshot API for full endpoint details and parameters.

License

MIT