[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-post-en-php-http-proxy-guide-guzzle-laravel":3},{"success":4,"payload":5,"related":70,"errors":161},true,{"id":6,"slug":7,"title":8,"excerpt":9,"body_html":10,"meta_title":11,"meta_description":12,"canonical_url":13,"canonical_override":14,"og_title":15,"og_description":16,"og_image_url":17,"faq_json":18,"key_takeaways":34,"allow_index":4,"noindex_google_only":40,"allow_follow":4,"published_at":41,"updated_at":41,"content_updated_at":42,"featured_image_url":17,"featured_image_alt":14,"card_image_url":14,"reading_time_minutes":43,"author":44,"categories":48,"tags":55,"alternates":56,"locale_paths":58,"views":69},61,"php-http-proxy-guide-guzzle-laravel","Using HTTP Proxies in PHP: A Complete Code-First Guide for cURL, Guzzle, Symfony, and Laravel","Learn how to configure HTTP proxies in PHP using raw cURL, Guzzle, Symfony HTTP Client, and Laravel. Includes concurrent scraping, TLS\u002FSSL handling, and production-ready code examples.","\u003Ch2>Why PHP Developers Need HTTP Proxies\u003C\u002Fh2>\u003Cp>If you're building scrapers, integrating third-party APIs with strict rate limits, or accessing geo-restricted content, you've likely hit IP blocks. HTTP proxies solve this by routing your requests through different IP addresses—making your traffic appear to originate from various locations rather than a single source.\u003C\u002Fp>\u003Cp>PHP developers have several powerful tools for proxy-aware HTTP requests: native cURL functions, Guzzle HTTP client, Symfony HTTP Client, and Laravel's wrapper ecosystem. Each has distinct advantages depending on your use case.\u003C\u002Fp>\u003Cp>This guide shows you exactly how to configure \u003Cstrong>PHP proxy\u003C\u002Fstrong> connections across all major HTTP clients, with production-ready code you can copy and run.\u003C\u002Fp>\u003Ch2>Raw cURL: The Foundation of PHP Proxy Requests\u003C\u002Fh2>\u003Cp>PHP's native cURL extension gives you fine-grained control over proxy configuration. Every modern PHP HTTP client ultimately wraps cURL, so understanding the raw approach helps you debug and optimize.\u003C\u002Fp>\u003Ch3>Basic cURL Proxy Configuration\u003C\u002Fh3>\u003Cp>The key cURL options for proxy support are:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>CURLOPT_PROXY\u003C\u002Fcode> — the proxy hostname or IP\u003C\u002Fli>\u003Cli>\u003Ccode>CURLOPT_PROXYPORT\u003C\u002Fcode> — the proxy port\u003C\u002Fli>\u003Cli>\u003Ccode>CURLOPT_PROXYUSERPWD\u003C\u002Fcode> — username:password for authentication\u003C\u002Fli>\u003Cli>\u003Ccode>CURLOPT_HTTPPROXYTUNNEL\u003C\u002Fcode> — enable tunneling (recommended for HTTPS targets)\u003C\u002Fli>\u003C\u002Ful>\u003Cp>Here's a complete, runnable example using \u003Cstrong>ProxyHat\u003C\u002Fstrong> \u003Ca href=\"\u002Fproxy\u002Fresidential\">residential proxies\u003C\u002Fa>:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\nfunction fetchWithProxy(string $url, string $username, string $password): string\n{\n    $ch = curl_init();\n    \n    \u002F\u002F Basic cURL options\n    curl_setopt_array($ch, [\n        CURLOPT_URL =&gt; $url,\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_FOLLOWLOCATION =&gt; true,\n        CURLOPT_MAXREDIRS =&gt; 5,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_CONNECTTIMEOUT =&gt; 10,\n        \n        \u002F\u002F Proxy configuration\n        CURLOPT_PROXY =&gt; &apos;gate.proxyhat.com&apos;,\n        CURLOPT_PROXYPORT =&gt; 8080,\n        CURLOPT_PROXYUSERPWD =&gt; &quot;{$username}:{$password}&quot;,\n        CURLOPT_HTTPPROXYTUNNEL =&gt; true, \u002F\u002F Required for HTTPS targets\n        \n        \u002F\u002F SSL\u002FTLS configuration\n        CURLOPT_SSL_VERIFYPEER =&gt; true,\n        CURLOPT_SSL_VERIFYHOST =&gt; 2,\n        CURLOPT_CAINFO =&gt; &apos;\u002Fetc\u002Fssl\u002Fcerts\u002Fca-certificates.crt&apos;, \u002F\u002F Adjust for your system\n        \n        \u002F\u002F User agent (avoid detection)\n        CURLOPT_USERAGENT =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n    ]);\n    \n    $response = curl_exec($ch);\n    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n    $error = curl_error($ch);\n    \n    curl_close($ch);\n    \n    if ($error) {\n        throw new RuntimeException(&quot;cURL error: {$error}&quot;);\n    }\n    \n    if ($httpCode &gt;= 400) {\n        throw new RuntimeException(&quot;HTTP error: {$httpCode}&quot;);\n    }\n    \n    return $response;\n}\n\n\u002F\u002F Usage example\ntry {\n    $html = fetchWithProxy(\n        &apos;https:\u002F\u002Fhttpbin.org\u002Fip&apos;,\n        &apos;user-country-US&apos;, \u002F\u002F ProxyHat geo-targeting\n        &apos;your-password&apos;\n    );\n    echo $html;\n} catch (RuntimeException $e) {\n    echo &quot;Request failed: &quot; . $e-&gt;getMessage();\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>Geo-Targeting with ProxyHat\u003C\u002Fh3>\u003Cp>ProxyHat supports country and city-level targeting via the username field. Simply format your username as \u003Ccode>user-country-{CC}\u003C\u002Fcode> or \u003Ccode>user-country-{CC}-region-{region}-city-{city}\u003C\u002Fcode>:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\n\u002F\u002F Target US IPs\n$username = &apos;user-country-US&apos;;\n\n\u002F\u002F Target Berlin, Germany\n$username = &apos;user-country-DE-region-state_of_berlin-city-berlin&apos;;\n\n\u002F\u002F Sticky session (same IP for multiple requests)\n$username = &apos;user-sid-abc123-country-US&apos;;\n\n\u002F\u002F Use in cURL\ncurl_setopt($ch, CURLOPT_PROXYUSERPWD, &quot;{$username}:{$password}&quot;);\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>Guzzle HTTP Client: Modern PHP Proxy Integration\u003C\u002Fh2>\u003Cp>Guzzle is the most popular PHP HTTP client, offering a clean object-oriented interface. It's widely used in Laravel applications and standalone PHP projects.\u003C\u002Fp>\u003Ch3>Basic Guzzle Proxy Configuration\u003C\u002Fh3>\u003Cp>Pass proxy settings via the \u003Ccode>proxy\u003C\u002Fcode> request option:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\nrequire &apos;vendor\u002Fautoload.php&apos;;\n\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\Exception\\RequestException;\n\nfunction createGuzzleClient(string $username, string $password): Client\n{\n    return new Client([\n        &apos;timeout&apos; =&gt; 30,\n        &apos;connect_timeout&apos; =&gt; 10,\n        &apos;proxy&apos; =&gt; &quot;http:\u002F\u002F{$username}:{$password}@gate.proxyhat.com:8080&quot;,\n        &apos;headers&apos; =&gt; [\n            &apos;User-Agent&apos; =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n        ],\n        &apos;verify&apos; =&gt; true, \u002F\u002F Enable SSL verification\n    ]);\n}\n\n\u002F\u002F Usage\n$client = createGuzzleClient(&apos;user-country-US&apos;, &apos;your-password&apos;);\n\ntry {\n    $response = $client-&gt;get(&apos;https:\u002F\u002Fhttpbin.org\u002Fip&apos;);\n    echo $response-&gt;getBody()-&gt;getContents();\n} catch (RequestException $e) {\n    echo &quot;Request failed: &quot; . $e-&gt;getMessage();\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>Per-Request Proxy Rotation with Guzzle\u003C\u002Fh3>\u003Cp>For \u003Cstrong>Guzzle proxy\u003C\u002Fstrong> rotation, override the proxy setting on individual requests. This is essential for scraping where you need a different IP for each request:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\nrequire &apos;vendor\u002Fautoload.php&apos;;\n\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\Pool;\nuse GuzzleHttp\\Promise;\n\nclass ProxyRotator\n{\n    private array $proxyCredentials = [];\n    private int $currentIndex = 0;\n    \n    public function __construct(array $credentials)\n    {\n        $this-&gt;proxyCredentials = $credentials;\n    }\n    \n    public function getNextProxyUrl(): string\n    {\n        $cred = $this-&gt;proxyCredentials[$this-&gt;currentIndex];\n        $this-&gt;currentIndex = ($this-&gt;currentIndex + 1) % count($this-&gt;proxyCredentials);\n        \n        return &quot;http:\u002F\u002F{$cred[&apos;username&apos;]}:{$cred[&apos;password&apos;]}@gate.proxyhat.com:8080&quot;;\n    }\n    \n    public function getRotatingUsername(string $country = &apos;US&apos;): string\n    {\n        \u002F\u002F ProxyHat supports session-based rotation\n        $sessionId = bin2hex(random_bytes(8));\n        return &quot;user-sid-{$sessionId}-country-{$country}&quot;;\n    }\n}\n\n\u002F\u002F Production-ready scraping function\nfunction scrapeMultipleUrls(array $urls, string $password): array\n{\n    $rotator = new ProxyRotator([]); \u002F\u002F We&apos;ll use session-based rotation\n    $client = new Client([&apos;timeout&apos; =&gt; 30, &apos;verify&apos; =&gt; true]);\n    \n    $promises = [];\n    \n    foreach ($urls as $key =&gt; $url) {\n        $username = $rotator-&gt;getRotatingUsername(&apos;US&apos;);\n        $proxyUrl = &quot;http:\u002F\u002F{$username}:{$password}@gate.proxyhat.com:8080&quot;;\n        \n        $promises[$key] = $client-&gt;getAsync($url, [\n            &apos;proxy&apos; =&gt; $proxyUrl,\n            &apos;headers&apos; =&gt; [\n                &apos;User-Agent&apos; =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n                &apos;Accept&apos; =&gt; &apos;text\u002Fhtml,application\u002Fxhtml+xml&apos;,\n            ],\n        ]);\n    }\n    \n    \u002F\u002F Wait for all requests to complete\n    $results = Promise\\Utils::settle($promises)-&gt;wait();\n    \n    $responses = [];\n    foreach ($results as $key =&gt; $result) {\n        if ($result[&apos;state&apos;] === &apos;fulfilled&apos;) {\n            $responses[$key] = $result[&apos;value&apos;]-&gt;getBody()-&gt;getContents();\n        } else {\n            $responses[$key] = [&apos;error&apos; =&gt; $result[&apos;reason&apos;]-&gt;getMessage()];\n        }\n    }\n    \n    return $responses;\n}\n\n\u002F\u002F Usage\n$urls = [\n    &apos;page1&apos; =&gt; &apos;https:\u002F\u002Fexample.com\u002Fpage1&apos;,\n    &apos;page2&apos; =&gt; &apos;https:\u002F\u002Fexample.com\u002Fpage2&apos;,\n    &apos;page3&apos; =&gt; &apos;https:\u002F\u002Fexample.com\u002Fpage3&apos;,\n];\n\n$results = scrapeMultipleUrls($urls, &apos;your-password&apos;);\nprint_r($results);\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>Symfony HTTP Client: Async and Modern\u003C\u002Fh2>\u003Cp>Symfony's HTTP Client offers excellent async support and integrates well with Laravel applications. It's particularly useful for high-throughput scraping scenarios.\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\nrequire &apos;vendor\u002Fautoload.php&apos;;\n\nuse Symfony\\Component\\HttpClient\\HttpClient;\nuse Symfony\\Component\\HttpClient\\Response\\AsyncResponse;\n\nclass SymfonyProxyClient\n{\n    private string $password;\n    private $client;\n    \n    public function __construct(string $password)\n    {\n        $this-&gt;password = $password;\n        $this-&gt;client = HttpClient::create([\n            &apos;timeout&apos; =&gt; 30,\n            &apos;max_redirects&apos; =&gt; 5,\n            &apos;verify_peer&apos; =&gt; true,\n            &apos;verify_host&apos; =&gt; true,\n        ]);\n    }\n    \n    public function fetch(string $url, ?string $country = null): string\n    {\n        $username = $this-&gt;buildUsername($country);\n        \n        $response = $this-&gt;client-&gt;request(&apos;GET&apos;, $url, [\n            &apos;proxy&apos; =&gt; &quot;http:\u002F\u002F{$username}:{$this-&gt;password}@gate.proxyhat.com:8080&quot;,\n            &apos;headers&apos; =&gt; [\n                &apos;User-Agent&apos; =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n            ],\n        ]);\n        \n        \u002F\u002FgetStatusCode() will throw on network errors\n        $statusCode = $response-&gt;getStatusCode();\n        \n        if ($statusCode &gt;= 400) {\n            throw new RuntimeException(&quot;HTTP error: {$statusCode}&quot;);\n        }\n        \n        return $response-&gt;getContent();\n    }\n    \n    public function fetchConcurrent(array $urls, ?string $country = null): array\n    {\n        $responses = [];\n        \n        foreach ($urls as $key =&gt; $url) {\n            $username = $this-&gt;buildUsername($country);\n            \n            $responses[$key] = $this-&gt;client-&gt;request(&apos;GET&apos;, $url, [\n                &apos;proxy&apos; =&gt; &quot;http:\u002F\u002F{$username}:{$this-&gt;password}@gate.proxyhat.com:8080&quot;,\n                &apos;headers&apos; =&gt; [\n                    &apos;User-Agent&apos; =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n                ],\n            ]);\n        }\n        \n        \u002F\u002F Process responses as they complete\n        $results = [];\n        foreach ($responses as $key =&gt; $response) {\n            try {\n                $results[$key] = $response-&gt;getContent();\n            } catch (\\Exception $e) {\n                $results[$key] = [&apos;error&apos; =&gt; $e-&gt;getMessage()];\n            }\n        }\n        \n        return $results;\n    }\n    \n    private function buildUsername(?string $country): string\n    {\n        $sessionId = bin2hex(random_bytes(8));\n        $country = $country ?? &apos;US&apos;;\n        \n        return &quot;user-sid-{$sessionId}-country-{$country}&quot;;\n    }\n}\n\n\u002F\u002F Usage\n$client = new SymfonyProxyClient(&apos;your-password&apos;);\n\n\u002F\u002F Single request\n$html = $client-&gt;fetch(&apos;https:\u002F\u002Fhttpbin.org\u002Fip&apos;, &apos;US&apos;);\necho $html;\n\n\u002F\u002F Concurrent requests\n$urls = [\n    &apos;ip1&apos; =&gt; &apos;https:\u002F\u002Fhttpbin.org\u002Fip&apos;,\n    &apos;ip2&apos; =&gt; &apos;https:\u002F\u002Fhttpbin.org\u002Fuser-agent&apos;,\n];\n\n$results = $client-&gt;fetchConcurrent($urls, &apos;DE&apos;);\nprint_r($results);\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>Laravel Integration: Production-Ready Proxy Service\u003C\u002Fh2>\u003Cp>For \u003Cstrong>Laravel proxy scraping\u003C\u002Fstrong> applications, you'll want a reusable service class that handles proxy rotation, retries, and logging. Here's a complete implementation:\u003C\u002Fp>\u003Ch3>Proxy Service Class\u003C\u002Fh3>\u003Cpre>\u003Ccode>&lt;?php\n\nnamespace App\\Services;\n\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\Exception\\RequestException;\nuse Illuminate\\Support\\Facades\\Log;\n\nclass ProxyService\n{\n    private Client $client;\n    private string $proxyPassword;\n    private int $maxRetries;\n    private int $retryDelay;\n    \n    public function __construct(\n        ?string $password = null,\n        int $maxRetries = 3,\n        int $retryDelay = 1000\n    ) {\n        $this-&gt;proxyPassword = $password ?? config(&apos;services.proxyhat.password&apos;);\n        $this-&gt;maxRetries = $maxRetries;\n        $this-&gt;retryDelay = $retryDelay;\n        \n        $this-&gt;client = new Client([\n            &apos;timeout&apos; =&gt; config(&apos;services.proxyhat.timeout&apos;, 30),\n            &apos;connect_timeout&apos; =&gt; config(&apos;services.proxyhat.connect_timeout&apos;, 10),\n            &apos;verify&apos; =&gt; true,\n        ]);\n    }\n    \n    \u002F**\n     * Fetch URL with automatic proxy rotation and retries.\n     *\u002F\n    public function fetch(\n        string $url,\n        ?string $country = null,\n        ?string $sessionId = null,\n        array $headers = []\n    ): string {\\n        $attempt = 0;\n        $lastException = null;\n        \n        while ($attempt &lt; $this-&gt;maxRetries) {\n            $attempt++;\n            \n            try {\n                $username = $this-&gt;buildUsername($country, $sessionId);\n                $proxyUrl = $this-&gt;buildProxyUrl($username);\n                \n                $response = $this-&gt;client-&gt;get($url, [\n                    &apos;proxy&apos; =&gt; $proxyUrl,\n                    &apos;headers&apos; =&gt; array_merge($this-&gt;getDefaultHeaders(), $headers),\n                ]);\n                \n                Log::info(&apos;Proxy request successful&apos;, [\n                    &apos;url&apos; =&gt; $url,\n                    &apos;country&apos; =&gt; $country,\n                    &apos;attempt&apos; =&gt; $attempt,\n                ]);\n                \n                return $response-&gt;getBody()-&gt;getContents();\n                \n            } catch (RequestException $e) {\n                $lastException = $e;\n                \n                Log::warning(&apos;Proxy request failed&apos;, [\n                    &apos;url&apos; =&gt; $url,\n                    &apos;attempt&apos; =&gt; $attempt,\n                    &apos;error&apos; =&gt; $e-&gt;getMessage(),\n                    &apos;status_code&apos; =&gt; $e-&gt;getResponse()?-&gt;getStatusCode(),\n                ]);\n                \n                \u002F\u002F Force new session on retry (new IP)\n                $sessionId = null;\n                \n                if ($attempt &lt; $this-&gt;maxRetries) {\n                    usleep($this-&gt;retryDelay * 1000 * $attempt); \u002F\u002F Exponential backoff\n                }\n            }\n        }\n        \n        throw $lastException ?? new \\RuntimeException(&apos;Unknown error&apos;);\n    }\n    \n    \u002F**\n     * Fetch multiple URLs concurrently.\n     *\u002F\n    public function fetchBatch(array $urls, ?string $country = null): array\n    {\n        $promises = [];\n        \n        foreach ($urls as $key =&gt; $url) {\n            $username = $this-&gt;buildUsername($country);\n            $proxyUrl = $this-&gt;buildProxyUrl($username);\n            \n            $promises[$key] = $this-&gt;client-&gt;getAsync($url, [\n                &apos;proxy&apos; =&gt; $proxyUrl,\n                &apos;headers&apos; =&gt; $this-&gt;getDefaultHeaders(),\n            ]);\n        }\n        \n        $results = \\GuzzleHttp\\Promise\\Utils::settle($promises)-&gt;wait();\n        \n        $responses = [];\n        foreach ($results as $key =&gt; $result) {\n            if ($result[&apos;state&apos;] === &apos;fulfilled&apos;) {\n                $responses[$key] = $result[&apos;value&apos;]-&gt;getBody()-&gt;getContents();\n            } else {\n                $responses[$key] = [&apos;error&apos; =&gt; $result[&apos;reason&apos;]-&gt;getMessage()];\n            }\n        }\n        \n        return $responses;\n    }\n    \n    \u002F**\n     * Create a sticky session (same IP for multiple requests).\n     *\u002F\n    public function createStickySession(string $country = &apos;US&apos;): string\n    {\n        return bin2hex(random_bytes(16));\n    }\n    \n    private function buildUsername(?string $country, ?string $sessionId = null): string\n    {\n        $country = $country ?? config(&apos;services.proxyhat.default_country&apos;, &apos;US&apos;);\n        $sessionId = $sessionId ?? bin2hex(random_bytes(8));\n        \n        return &quot;user-sid-{$sessionId}-country-{$country}&quot;;\n    }\n    \n    private function buildProxyUrl(string $username): string\n    {\n        return &quot;http:\u002F\u002F{$username}:{$this-&gt;proxyPassword}@gate.proxyhat.com:8080&quot;;\n    }\n    \n    private function getDefaultHeaders(): array\n    {\n        $userAgents = [\n            &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36&apos;,\n            &apos;Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36&apos;,\n            &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko\u002F20100101 Firefox\u002F121.0&apos;,\n        ];\n        \n        return [\n            &apos;User-Agent&apos; =&gt; $userAgents[array_rand($userAgents)],\n            &apos;Accept&apos; =&gt; &apos;text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8&apos;,\n            &apos;Accept-Language&apos; =&gt; &apos;en-US,en;q=0.9&apos;,\n            &apos;Accept-Encoding&apos; =&gt; &apos;gzip, deflate&apos;,\n        ];\n    }\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>Laravel Configuration\u003C\u002Fh3>\u003Cp>Add these settings to \u003Ccode>config\u002Fservices.php\u003C\u002Fcode>:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\n\u002F\u002F config\u002Fservices.php\nreturn [\n    &apos;proxyhat&apos; =&gt; [\n        &apos;password&apos; =&gt; env(&apos;PROXYHAT_PASSWORD&apos;),\n        &apos;timeout&apos; =&gt; env(&apos;PROXYHAT_TIMEOUT&apos;, 30),\n        &apos;connect_timeout&apos; =&gt; env(&apos;PROXYHAT_CONNECT_TIMEOUT&apos;, 10),\n        &apos;default_country&apos; =&gt; env(&apos;PROXYHAT_DEFAULT_COUNTRY&apos;, &apos;US&apos;),\n    ],\n];\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>Usage in Laravel Jobs\u003C\u002Fh3>\u003Cpre>\u003Ccode>&lt;?php\n\nnamespace App\\Jobs;\n\nuse App\\Services\\ProxyService;\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldQueue;\nuse Illuminate\\Queue\\InteractsWithQueue;\n\nclass ScrapeProductJob implements ShouldQueue\n{\n    use InteractsWithQueue, Queueable;\n    \n    public function __construct(\n        private string $url,\n        private string $country = &apos;US&apos;\n    ) {}\n    \n    public function handle(ProxyService $proxyService): void\n    {\n        \u002F\u002F Create sticky session for this job (same IP throughout)\n        $sessionId = $proxyService-&gt;createStickySession($this-&gt;country);\n        \n        try {\n            $html = $proxyService-&gt;fetch(\n                $this-&gt;url,\n                $this-&gt;country,\n                $sessionId\n            );\n            \n            \u002F\u002F Parse and store data\n            $data = $this-&gt;parseHtml($html);\n            \n            \u002F\u002F If you need to make follow-up requests,\n            \u002F\u002F pass the same $sessionId to maintain the same IP\n            \n        } catch (\\Exception $e) {\n            $this-&gt;fail($e);\n        }\n    }\n    \n    private function parseHtml(string $html): array\n    {\n        \u002F\u002F Your parsing logic here\n        return [];\n    }\n}\n\n\u002F\u002F Dispatch\nScrapeProductJob::dispatch(&apos;https:\u002F\u002Fexample.com\u002Fproduct\u002F123&apos;, &apos;DE&apos;);\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>Multi-cURL for High-Concurrency Scraping\u003C\u002Fh2>\u003Cp>For maximum performance, PHP's \u003Ccode>curl_multi_*\u003C\u002Fcode> functions let you execute hundreds of concurrent requests. This approach bypasses HTTP client overhead and gives you raw control:\u003C\u002Fp>\u003Cpre>\u003Ccode>&lt;?php\n\nclass MultiCurlProxyScraper\n{\n    private string $proxyPassword;\n    private int $concurrency;\n    \n    public function __construct(string $password, int $concurrency = 50)\n    {\n        $this-&gt;proxyPassword = $password;\n        $this-&gt;concurrency = $concurrency;\n    }\n    \n    public function fetchAll(array $urls, ?string $country = null): array\n    {\n        $mh = curl_multi_init();\n        $handles = [];\n        $results = [];\n        \n        \u002F\u002F Initialize all cURL handles\n        foreach ($urls as $key =&gt; $url) {\n            $sessionId = bin2hex(random_bytes(8));\n            $username = &quot;user-sid-{$sessionId}-country-{$country ?? &apos;US&apos;}&quot;;\n            \n            $ch = curl_init();\n            curl_setopt_array($ch, [\n                CURLOPT_URL =&gt; $url,\n                CURLOPT_RETURNTRANSFER =&gt; true,\n                CURLOPT_FOLLOWLOCATION =&gt; true,\n                CURLOPT_MAXREDIRS =&gt; 5,\n                CURLOPT_TIMEOUT =&gt; 30,\n                CURLOPT_CONNECTTIMEOUT =&gt; 10,\n                CURLOPT_PROXY =&gt; &apos;gate.proxyhat.com&apos;,\n                CURLOPT_PROXYPORT =&gt; 8080,\n                CURLOPT_PROXYUSERPWD =&gt; &quot;{$username}:{$this-&gt;proxyPassword}&quot;,\n                CURLOPT_HTTPPROXYTUNNEL =&gt; true,\n                CURLOPT_SSL_VERIFYPEER =&gt; true,\n                CURLOPT_USERAGENT =&gt; &apos;Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36&apos;,\n            ]);\n            \n            curl_multi_add_handle($mh, $ch);\n            $handles[$key] = $ch;\n        }\n        \n        \u002F\u002F Execute all requests\n        $active = null;\n        do {\n            $status = curl_multi_exec($mh, $active);\n            \n            if ($active) {\n                curl_multi_select($mh); \u002F\u002F Wait for activity\n            }\n        } while ($active &amp;&amp; $status === CURLM_OK);\n        \n        \u002F\u002F Collect results\n        foreach ($handles as $key =&gt; $ch) {\n            $response = curl_multi_getcontent($ch);\n            $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n            $error = curl_error($ch);\n            \n            if ($error) {\n                $results[$key] = [&apos;error&apos; =&gt; $error];\n            } elseif ($httpCode &gt;= 400) {\n                $results[$key] = [&apos;error&apos; =&gt; &quot;HTTP {$httpCode}&quot;];\n            } else {\n                $results[$key] = $response;\n            }\n            \n            curl_multi_remove_handle($mh, $ch);\n            curl_close($ch);\n        }\n        \n        curl_multi_close($mh);\n        \n        return $results;\n    }\n}\n\n\u002F\u002F Usage - fetch 100 URLs concurrently\n$scraper = new MultiCurlProxyScraper(&apos;your-password&apos;, concurrency: 50);\n\n$urls = [];\nfor ($i = 0; $i &lt; 100; $i++) {\n    $urls[&quot;page{$i}&quot;] = &quot;https:\u002F\u002Fhttpbin.org\u002Fdelay\u002F1?n={$i}&quot;;\n}\n\n$start = microtime(true);\n$results = $scraper-&gt;fetchAll($urls, &apos;US&apos;);\n$elapsed = microtime(true) - $start;\n\necho &quot;Fetched &quot; . count($urls) . &quot; URLs in &quot; . round($elapsed, 2) . &quot; seconds\\n&quot;;\necho &quot;Success rate: &quot; . count(array_filter($results, &apos;is_string&apos;)) . &quot;\u002F&quot; . count($urls) . &quot;\\n&quot;;\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>TLS\u002FSSL Configuration and CA Bundle Handling\u003C\u002Fh2>\u003Cp>When proxying HTTPS traffic, proper certificate verification is critical. Here's how to handle TLS\u002FSSL correctly:\u003C\u002Fp>\u003Ch3>Common SSL Issues\u003C\u002Fh3>\u003Cul>\u003Cli>\u003Cstrong>Missing CA bundle\u003C\u002Fstrong> — PHP can't verify SSL certificates\u003C\u002Fli>\u003Cli>Outdated CA bundle — Newer certificates aren't recognized\u003C\u002Fli>\u003Cli>Self-signed certificates — Internal APIs may use custom CAs\u003C\u002Fli>\u003Cli>Proxy MITM — Some corporate proxies intercept SSL\u003C\u002Fli>\u003C\u002Ful>\u003Ch3>Production SSL Configuration\u003C\u002Fh3>\u003Cpre>\u003Ccode>&lt;?php\n\nclass SecureProxyClient\n{\n    private string $caBundlePath;\n    private string $proxyPassword;\n    \n    public function __construct(string $password)\n    {\n        $this-&gt;proxyPassword = $password;\n        $this-&gt;caBundlePath = $this-&gt;findCaBundle();\n    }\n    \n    \u002F**\n     * Locate CA bundle on various systems.\n     *\u002F\n    private function findCaBundle(): string\n    {\n        \u002F\u002F Common CA bundle locations\n        $candidates = [\n            \u002F\u002F Linux (Debian\u002FUbuntu)\n            &apos;\u002Fetc\u002Fssl\u002Fcerts\u002Fca-certificates.crt&apos;,\n            \u002F\u002F Linux (RHEL\u002FCentOS)\n            &apos;\u002Fetc\u002Fpki\u002Ftls\u002Fcerts\u002Fca-bundle.crt&apos;,\n            \u002F\u002F Linux (Alpine)\n            &apos;\u002Fetc\u002Fssl\u002Fcerts\u002Fca-certificates.crt&apos;,\n            \u002F\u002F macOS (Homebrew OpenSSL)\n            &apos;\u002Fusr\u002Flocal\u002Fetc\u002Fopenssl\u002Fcert.pem&apos;,\n            \u002F\u002F macOS (system)\n            &apos;\u002Fetc\u002Fssl\u002Fcert.pem&apos;,\n            \u002F\u002F Windows (XAMPP)\n            &apos;C:\\xampp\\php\\extras\\ssl\\cacert.pem&apos;,\n            \u002F\u002F Composer CA bundle (if installed)\n            dirname(__DIR__) . &apos;\u002Fvendor\u002Fcacert\u002Fcacert.pem&apos;,\n        ];\n        \n        foreach ($candidates as $path) {\n            if (file_exists($path)) {\n                return $path;\n            }\n        }\n        \n        \u002F\u002F Fallback: download Mozilla CA bundle\n        $bundlePath = sys_get_temp_dir() . &apos;\u002Fcacert.pem&apos;;\n        \n        if (!file_exists($bundlePath)) {\n            $bundle = file_get_contents(&apos;https:\u002F\u002Fcurl.se\u002Fca\u002Fcacert.pem&apos;);\n            file_put_contents($bundlePath, $bundle);\n        }\n        \n        return $bundlePath;\n    }\n    \n    \u002F**\n     * Create a cURL handle with proper SSL configuration.\n     *\u002F\n    public function createSecureCurlHandle(string $url, string $username): \\CurlHandle\n    {\n        $ch = curl_init();\n        \n        curl_setopt_array($ch, [\n            CURLOPT_URL =&gt; $url,\n            CURLOPT_RETURNTRANSFER =&gt; true,\n            CURLOPT_FOLLOWLOCATION =&gt; true,\n            CURLOPT_MAXREDIRS =&gt; 5,\n            CURLOPT_TIMEOUT =&gt; 30,\n            \n            \u002F\u002F Proxy\n            CURLOPT_PROXY =&gt; &apos;gate.proxyhat.com&apos;,\n            CURLOPT_PROXYPORT =&gt; 8080,\n            CURLOPT_PROXYUSERPWD =&gt; &quot;{$username}:{$this-&gt;proxyPassword}&quot;,\n            CURLOPT_HTTPPROXYTUNNEL =&gt; true,\n            \n            \u002F\u002F SSL\u002FTLS - Always verify in production\n            CURLOPT_SSL_VERIFYPEER =&gt; true,\n            CURLOPT_SSL_VERIFYHOST =&gt; 2, \u002F\u002F Strict hostname verification\n            CURLOPT_CAINFO =&gt; $this-&gt;caBundlePath,\n            \n            \u002F\u002F TLS version (minimum TLS 1.2)\n            CURLOPT_SSLVERSION =&gt; CURL_SSLVERSION_TLSv1_2,\n            \n            \u002F\u002F Cipher configuration\n            CURLOPT_SSL_CIPHER_LIST =&gt; &apos;TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256&apos;,\n            \n            \u002F\u002F Enable certificate status checking (OCSP stapling)\n            CURLOPT_CERTINFO =&gt; true,\n        ]);\n        \n        return $ch;\n    }\n    \n    \u002F**\n     * Guzzle client with SSL hardening.\n     *\u002F\n    public function createSecureGuzzleClient(): \\GuzzleHttp\\Client\n    {\n        return new \\GuzzleHttp\\Client([\n            &apos;timeout&apos; =&gt; 30,\n            &apos;connect_timeout&apos; =&gt; 10,\n            &apos;proxy&apos; =&gt; &quot;http:\u002F\u002Fuser-country-US:{$this-&gt;proxyPassword}@gate.proxyhat.com:8080&quot;,\n            &apos;verify&apos; =&gt; $this-&gt;caBundlePath,\n            &apos;version&apos; =&gt; 2.0, \u002F\u002F HTTP\u002F2 if available\n            &apos;config&apos; =&gt; [\n                &apos;curl&apos; =&gt; [\n                    CURLOPT_SSLVERSION =&gt; CURL_SSLVERSION_TLSv1_2,\n                    CURLOPT_CERTINFO =&gt; true,\n                ],\n            ],\n        ]);\n    }\n    \n    \u002F**\n     * Debug SSL certificate chain.\n     *\u002F\n    public function inspectCertificate(string $url): array\n    {\n        $ch = curl_init();\n        curl_setopt_array($ch, [\n            CURLOPT_URL =&gt; $url,\n            CURLOPT_RETURNTRANSFER =&gt; true,\n            CURLOPT_CERTINFO =&gt; true,\n            CURLOPT_VERBOSE =&gt; true,\n            CURLOPT_CAINFO =&gt; $this-&gt;caBundlePath,\n        ]);\n        \n        curl_exec($ch);\n        \n        $certInfo = curl_getinfo($ch, CURLINFO_CERTINFO);\n        $sslVerifyResult = curl_getinfo($ch, CURLINFO_SSL_VERIFYRESULT);\n        \n        curl_close($ch);\n        \n        return [\n            &apos;cert_info&apos; =&gt; $certInfo,\n            &apos;ssl_verify_result&apos; =&gt; $sslVerifyResult,\n        ];\n    }\n}\n\n\u002F\u002F Usage\n$client = new SecureProxyClient(&apos;your-password&apos;);\n\n\u002F\u002F Inspect SSL certificate\n$certInfo = $client-&gt;inspectCertificate(&apos;https:\u002F\u002Fexample.com&apos;);\nprint_r($certInfo);\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch3>Handling SSL Errors\u003C\u002Fh3>\u003Cpre>\u003Ccode>&lt;?php\n\ntry {\n    $response = $client-&gt;get(&apos;https:\u002F\u002Fexample.com&apos;);\n} catch (GuzzleHttp\\Exception\\RequestException $e) {\n    $curlError = curl_errno($e-&gt;getHandlerContext());\n    \n    \u002F\u002F Common SSL error codes\n    $sslErrors = [\n        CURLE_SSL_CACERT =&gt; &apos;CA certificate not found&apos;,\n        CURLE_SSL_CERTPROBLEM =&gt; &apos;Certificate problem&apos;,\n        CURLE_SSL_CIPHER =&gt; &apos;Cipher negotiation failed&apos;,\n        CURLE_SSL_CACERT_SHA256 =&gt; &apos;SHA-256 certificate issue&apos;,\n        CURLE_SSL_PINNEDPUBKEYNOTMATCH =&gt; &apos;Public key mismatch&apos;,\n        60 =&gt; &apos;Peer certificate cannot be authenticated&apos;,\n        51 =&gt; &apos;SSL certificate verification failed&apos;,\n    ];\n    \n    if (isset($sslErrors[$curlError])) {\n        \u002F\u002F Handle SSL-specific errors\n        Log::error(&apos;SSL verification failed&apos;, [\n            &apos;error_code&apos; =&gt; $curlError,\n            &apos;error_message&apos; =&gt; $sslErrors[$curlError],\n            &apos;url&apos; =&gt; $url,\n        ]);\n        \n        \u002F\u002F Options: update CA bundle, check for MITM, or investigate cert chain\n    }\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003Ch2>Comparison: PHP HTTP Clients with Proxy Support\u003C\u002Fh2>\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Feature\u003C\u002Fth>\u003Cth>Raw cURL\u003C\u002Fth>\u003Cth>Guzzle\u003C\u002Fth>\u003Cth>Symfony HTTP\u003C\u002Fth>\u003Cth>Laravel HTTP\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Proxy Configuration\u003C\u002Ftd>\u003Ctd>Manual options\u003C\u002Ftd>\u003Ctd>Request options\u003C\u002Ftd>\u003Ctd>Request options\u003C\u002Ftd>\u003Ctd>Middleware\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Async Support\u003C\u002Ftd>\u003Ctd>curl_multi\u003C\u002Ftd>\u003Ctd>Promises\u003C\u002Ftd>\u003Ctd>Native async\u003C\u002Ftd>\u003Ctd>Async pool\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Rotation\u003C\u002Ftd>\u003Ctd>Manual\u003C\u002Ftd>\u003Ctd>Per-request\u003C\u002Ftd>\u003Ctd>Per-request\u003C\u002Ftd>\u003Ctd>Service class\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Retry Logic\u003C\u002Ftd>\u003Ctd>Manual\u003C\u002Ftd>\u003Ctd>Middleware\u003C\u002Ftd>\u003Ctd>Retryable\u003C\u002Ftd>\u003Ctd>Job retries\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>SSL Handling\u003C\u002Ftd>\u003Ctd>Full control\u003C\u002Ftd>\u003Ctd>Config option\u003C\u002Ftd>\u003Ctd>Config option\u003C\u002Ftd>\u003Ctd>Inherited\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Best For\u003C\u002Ftd>\u003Ctd>Maximum control\u003C\u002Ftd>\u003Ctd>General use\u003C\u002Ftd>\u003Ctd>High concurrency\u003C\u002Ftd>\u003Ctd>Laravel apps\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Cp>Ready to start scraping? \u003Ca href=\"\u002Fpricing\">Get residential proxies from ProxyHat\u003C\u002Fa> with instant access to millions of IPs across 195+ countries.\u003C\u002Fp>","PHP Proxy Guide: cURL, Guzzle, Symfony & Laravel Integration | ProxyHa","Complete guide to using HTTP proxies in PHP with cURL, Guzzle, Symfony HTTP Client, and Laravel. Includes proxy rotation, async requests, SSL handling, and production-ready code examples.","\u002Fblog\u002Fphp-http-proxy-guide-guzzle-laravel",null,"PHP Proxy Guide: cURL, Guzzle, Symfony & Laravel | ProxyHat","Learn to configure HTTP proxies in PHP with production-ready code examples for cURL, Guzzle, Symfony, and Laravel. Includes async scraping and SSL handling.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fai\u002F61.jpg",[19,22,25,28,31],{"question":20,"answer":21},"How do I set a proxy in PHP cURL?","Use CURLOPT_PROXY for the hostname, CURLOPT_PROXYPORT for the port, and CURLOPT_PROXYUSERPWD for authentication. For HTTPS targets, enable CURLOPT_HTTPPROXYTUNNEL. Example: curl_setopt($ch, CURLOPT_PROXY, 'gate.proxyhat.com'); curl_setopt($ch, CURLOPT_PROXYPORT, 8080); curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'username:password');",{"question":23,"answer":24},"Can I use different proxies for each request in Guzzle?","Yes. Pass the 'proxy' option in each request or request options array. Guzzle allows per-request proxy configuration: $client->get($url, ['proxy' => 'http:\u002F\u002Fuser:pass@host:port']); This enables easy IP rotation for scraping applications.",{"question":26,"answer":27},"How do I handle SSL certificate verification with proxies?","Never disable SSL verification in production. Instead, configure a proper CA bundle path using CURLOPT_CAINFO for cURL or the 'verify' option in Guzzle. Download the Mozilla CA bundle from curl.se\u002Fca\u002Fcacert.pem if your system lacks one.",{"question":29,"answer":30},"What's the difference between residential and datacenter proxies for PHP scraping?","Residential proxies use IP addresses from real ISP-assigned home connections, making them harder to detect and block. Datacenter proxies are faster but more easily identified as proxies. Use residential proxies for scraping sites with strong anti-bot protection.",{"question":32,"answer":33},"How do I maintain the same IP across multiple requests in PHP?","Use sticky sessions. With ProxyHat, include a session ID in your username: 'user-country-US-sid-abc123'. The proxy will route all requests with that session ID through the same IP address for the session duration (typically 10-30 minutes).",[35,36,37,38,39],"PHP developers can use HTTP proxies to avoid IP blocks when scraping, accessing geo-restricted content, or handling strict API rate limits.","Raw cURL provides fine-grained proxy control via CURLOPT_PROXY, CURLOPT_PROXYPORT, and CURLOPT_PROXYUSERPWD for authentication and tunneling.","Guzzle and Symfony HTTP Client support proxy configuration through a simple proxy URL string, enabling per-request rotation and concurrent requests.","ProxyHat enables geo-targeting and sticky sessions by formatting the username field, e.g., user-country-{CC}-region-{region}-city-{city}-sid-{id}.","In Laravel, a reusable ProxyService class can handle automatic proxy rotation, retries with exponential backoff, and batch concurrent fetching.",false,"2026-04-21T09:58:05+00:00","2026-10-04T02:42:51+00:00",15,{"name":45,"slug":46,"bio":47,"avatar_url":14,"website_url":14,"social_links":14},"ProxyHat Team","proxyhat-team","The ProxyHat editorial team covers proxies, web scraping, and data extraction.",[49],{"id":50,"slug":51,"name":52,"description":14,"meta_title":53,"meta_description":54,"parent_id":14},4,"developer-guides","Developer Guides","Developer Guides | ProxyHat Blog","Code tutorials and SDK guides for integrating proxies into your applications.",[],{"en":13,"ru":57,"x-default":13},"\u002Fru\u002Fblog\u002Fhttp-proksi-php-guzzle-laravel",{"de":59,"tr":60,"pl":61,"fr":62,"ko":63,"es":64,"en":13,"ru":57,"pt":65,"zh":66,"ja":67,"it":68},"\u002Fde\u002Fblog\u002Fphp-http-proxy-leitfaden","\u002Ftr\u002Fblog\u002Fphp-http-proxy-kullanimi-rehberi","\u002Fpl\u002Fblog\u002Fphp-proxy-guzzle-laravel-scraping","\u002Ffr\u002Fblog\u002Fguide-proxy-php-guzzle-laravel","\u002Fko\u002Fblog\u002Fphp-http-proxy-guzzle-laravel-guide","\u002Fes\u002Fblog\u002Fphp-proxy-guzzle-laravel-guia-completa","\u002Fpt\u002Fblog\u002Fguia-proxy-http-php-curl-guzzle-laravel","\u002Fcn\u002Fblog\u002Fphp-http-proxy-guzzle-laravel-guide-1","\u002Fja\u002Fblog\u002Fphp-http-proxy-guide-2026","\u002Fit\u002Fblog\u002Fguida-proxy-http-php-curl-guzzle-laravel",160,[71,104,130,146],{"id":72,"slug":73,"title":74,"excerpt":75,"featured_image_url":76,"featured_image_alt":74,"card_image_url":77,"og_image_url":78,"published_at":79,"updated_at":80,"content_updated_at":81,"reading_time_minutes":82,"is_featured":40,"indexable":4,"views":83,"author":84,"categories":85,"tags":87},210,"proxy-setup-for-ai-agents","Proxy Setup for AI Agents: browser-use, Crawl4AI and an MCP Server","Agents on cloud VMs exit from datacenter IPs. Here is current, working proxy configuration for browser-use, Crawl4AI and an MCP server, with a sticky-vs-rotating decision table and the cost traps to avoid.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fproxy-setup-for-ai-agents-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fproxy-setup-for-ai-agents-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fproxy-setup-for-ai-agents-og.webp","2026-10-24T09:00:00+00:00","2026-10-24T09:00:20+00:00","2026-10-03T09:31:26+00:00",14,31,{"name":45,"slug":46,"bio":47,"avatar_url":14,"website_url":14,"social_links":14},[86],{"id":50,"slug":51,"name":52,"description":14,"meta_title":53,"meta_description":54,"parent_id":14},[88,92,96,100],{"id":89,"slug":90,"name":91},1,"web-scraping","Web Scraping",{"id":93,"slug":94,"name":95},2,"residential-proxies","Residential Proxies",{"id":97,"slug":98,"name":99},9,"python","Python",{"id":101,"slug":102,"name":103},22,"playwright","Playwright",{"id":105,"slug":106,"title":107,"excerpt":108,"featured_image_url":109,"featured_image_alt":107,"card_image_url":110,"og_image_url":111,"published_at":112,"updated_at":113,"content_updated_at":81,"reading_time_minutes":82,"is_featured":40,"indexable":4,"views":114,"author":115,"categories":116,"tags":118},206,"camoufox-residential-proxies-python-guide","Camoufox with Residential Proxies: A Code-First Python Guide","How to run Camoufox, the C++-patched Firefox, behind residential proxies: current Python API, why geoip needs a sticky session, a fingerprint coherence checklist, and when Patchright or nodriver fits better.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fcamoufox-residential-proxies-python-guide-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fcamoufox-residential-proxies-python-guide-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fcamoufox-residential-proxies-python-guide-og.webp","2026-10-13T09:00:00+00:00","2026-10-13T09:00:22+00:00",44,{"name":45,"slug":46,"bio":47,"avatar_url":14,"website_url":14,"social_links":14},[117],{"id":50,"slug":51,"name":52,"description":14,"meta_title":53,"meta_description":54,"parent_id":14},[119,120,121,125,126],{"id":89,"slug":90,"name":91},{"id":93,"slug":94,"name":95},{"id":122,"slug":123,"name":124},6,"anti-detection","Anti-Detection",{"id":97,"slug":98,"name":99},{"id":127,"slug":128,"name":129},21,"headless-browser","Headless Browser",{"id":131,"slug":132,"title":133,"excerpt":134,"featured_image_url":135,"featured_image_alt":133,"card_image_url":136,"og_image_url":137,"published_at":138,"updated_at":138,"content_updated_at":139,"reading_time_minutes":140,"is_featured":40,"indexable":4,"views":141,"author":142,"categories":143,"tags":145},176,"got-scraping-nodejs-residential-proxies","got-scraping in Node.js: A Developer's Guide with Residential Proxies","A practical guide to using Apify's got-scraping HTTP client in Node.js with residential proxies — header generation, proxy rotation, retry hooks, and Crawlee scaling patterns for production scrapers.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fgot-scraping-nodejs-residential-proxies-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fgot-scraping-nodejs-residential-proxies-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fgot-scraping-nodejs-residential-proxies-og.webp","2026-08-04T16:05:06+00:00","2026-11-17T09:21:31+00:00",12,130,{"name":45,"slug":46,"bio":47,"avatar_url":14,"website_url":14,"social_links":14},[144],{"id":50,"slug":51,"name":52,"description":14,"meta_title":53,"meta_description":54,"parent_id":14},[],{"id":147,"slug":148,"title":149,"excerpt":150,"featured_image_url":151,"featured_image_alt":149,"card_image_url":152,"og_image_url":153,"published_at":154,"updated_at":154,"content_updated_at":155,"reading_time_minutes":140,"is_featured":40,"indexable":40,"views":156,"author":157,"categories":158,"tags":160},175,"rotating-proxies-in-colly-golang","Rotating Proxies in Colly: A Framework-Idiomatic Guide for Go Developers","A developer-first guide to implementing rotating proxies in Colly using residential IPs, custom proxy switchers, geo-targeting, and production patterns for high-throughput Go web scraping.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Frotating-proxies-in-colly-golang-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Frotating-proxies-in-colly-golang-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Frotating-proxies-in-colly-golang-og.webp","2026-08-04T10:05:34+00:00","2026-10-03T08:29:56+00:00",81,{"name":45,"slug":46,"bio":47,"avatar_url":14,"website_url":14,"social_links":14},[159],{"id":50,"slug":51,"name":52,"description":14,"meta_title":53,"meta_description":54,"parent_id":14},[],[]]