Guzzle · प्रॉक्सी सेटअप

Guzzle में प्रॉक्सी सेटअप

The PHP HTTP client used by Laravel and most of the ecosystem. नीचे दिए कॉन्फ़िग से इसे Eveses के रेजिडेंशियल पूल पर सेट करें — जियो यूज़रनेम में रहता है, इसलिए देश बदलने के लिए और कुछ बदलना नहीं पड़ता।

proxy.eveses.com:12321 · SOCKS5 32325 पर · 199 देश · $7.35/GB से

ध्यान दें

Guzzle accepts a single proxy string or a per-scheme array. Percent-encode the password: an unescaped `@` or `#` in the credentials truncates the URL and Guzzle connects direct without an error.

कॉन्फ़िगरेशन

<?php
use GuzzleHttp\Client;

$user = 'eveses_user_country-it';
$pass = rawurlencode('YOUR_PROXY_PASSWORD');   // do not skip this
$proxy = "http://{$user}:{$pass}@proxy.eveses.com:12321";

$client = new Client(['proxy' => $proxy, 'timeout' => 30]);
$res = $client->get('https://target-site.com');

// Laravel's HTTP facade takes the same option:
// Http::withOptions(['proxy' => $proxy])->get('https://target-site.com');

Guzzle को छुए बिना देश बदलें

जर्मनीeveses_user_country-de
30 मिनट स्थिरeveses_user_country-de_session-ab12cd34_lifetime-30m

जियो और सेशन यूज़रनेम में रहते हैं, होस्ट या पोर्ट में नहीं। देश बदलने पर इस पेज का पूरा कॉन्फ़िग वैसा ही रहता है — आप एक स्ट्रिंग बदलते हैं। 199 देश टारगेट किए जा सकते हैं, और अधिकांश में शहर व क्षेत्र के टोकन भी।

सामान्य प्रश्न

Guzzle में प्रॉक्सी कैसे सेट करें?›
इसे proxy.eveses.com पर सेट करें — HTTP के लिए पोर्ट 12321, SOCKS5 के लिए 32325 — और अपने Eveses प्रॉक्सी यूज़रनेम व पासवर्ड से लॉगिन करें। सटीक सिंटैक्स ऊपर स्निपेट में है। Guzzle accepts a single proxy string or a per-scheme array. Percent-encode the password: an unescaped `@` or `#` in the credentials truncates the URL and Guzzle connects direct without an error.
Guzzle किस देश से बाहर निकले, यह कैसे चुनें?›
होस्ट बदलने की जगह यूज़रनेम में जियो टोकन जोड़ें: eveses_user_country-de जर्मनी से निकलता है, eveses_user_country-us अमेरिका से। इस तरह 199 देश टारगेट होते हैं, और शहर या राज्य के टोकन और सटीक करते हैं। Guzzle के कॉन्फ़िग में और कुछ नहीं बदलता।
Guzzle में रिक्वेस्ट के बीच एक ही IP कैसे रखें?›
सेशन टोकन जोड़ें — eveses_user_country-us_session-ab12cd34_lifetime-30m — और उस यूज़रनेम वाली हर रिक्वेस्ट लाइफ़टाइम खत्म होने तक एक ही पते से निकलती है। टोकन हटाएँ तो हर रिक्वेस्ट नई IP पर घूम जाती है।
इसकी कीमत क्या है?›
रेजिडेंशियल ट्रैफ़िक आपके Eveses वॉलेट से प्रति गीगाबाइट बिल होता है: 1 GB पर $7.35/GB, वॉल्यूम पर घटकर $2.57/GB। प्रति-टूल कोई शुल्क नहीं, और वही क्रेडेंशियल सभी टूल में एक साथ चलते हैं।

अन्य इंटीग्रेशन

रेजिडेंशियल IP पर Guzzle चलाएँ

1 GB पर $7.35/GB, वॉल्यूम पर $2.57/GB — हर टूल में वही क्रेडेंशियल।

प्रॉक्सी लें →