scraperapi-php-sdk
Installation
SKILL.md
ScraperAPI — PHP SDK Best Practices
Requires: PHP 7.0+, Composer, composer require scraperapi/sdk, SCRAPERAPI_API_KEY environment variable.
Setup
<?php
require __DIR__ . '/vendor/autoload.php';
use ScraperAPI\Client;
$client = new Client(getenv('SCRAPERAPI_API_KEY'));
Never hardcode the API key. Read it from the environment every time.