PHPackages                             ilmlv/proxy-scraper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ilmlv/proxy-scraper

ActiveLibrary

ilmlv/proxy-scraper
===================

Library for scraping free proxy lists and validating proxy capabilities

v0.1-beta.3(3y ago)16MITPHPPHP ^8.0

Since Dec 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/IlmLV/proxy-scraper)[ Packagist](https://packagist.org/packages/ilmlv/proxy-scraper)[ RSS](/packages/ilmlv-proxy-scraper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Proxy Scraper and Validator
===========================

[](#proxy-scraper-and-validator)

This library is designed to scrape free proxy resources and also individually validate those capabilities. Support for http/https/socks4/socks5 proxies.

***WARNING!*** Keep in mind that free public proxies is HIGHLY not recommended for sensitive data transfer.

Please check out [all examples](https://github.com/IlmLV/proxy-scraper/tree/master/examples).

Installation
------------

[](#installation)

Recomended installation method is via composer:

```
composer require ilmlv/proxy-scraper

```

Proxy scraper sources
---------------------

[](#proxy-scraper-sources)

Currently implemented proxy sources:

- [blogspotproxy.blogspot.com](https://blogspotproxy.blogspot.com/)
- [checkerproxy.net](https://checkerproxy.net)
- [clarketm/proxy-list](https://github.com/clarketm/proxy-list/blob/master/proxy-list.txt)
- [free-proxy-list.net](https://www.free-proxy-list.net)
- [free-proxy-list.net/anonymous-proxy.html](https://free-proxy-list.net/anonymous-proxy.html)
- [free-proxy-list.net/uk-proxy.html](https://free-proxy-list.net/uk-proxy.html)
- [gimmeproxy.com](https://gimmeproxy.com)
- [multiproxy.org](https://multiproxy.org)
- [proxyserverlist24.top](http://www.proxyserverlist24.top)
- [pubproxy.com](http://pubproxy.com/)
- [ShiftyTR/Proxy-List](https://github.com/ShiftyTR/Proxy-List)
- [ShiftyTR/Proxy-List/https.txt](https://github.com/ShiftyTR/Proxy-List/blob/master/https.txt)
- [ShiftyTR/Proxy-List/socks4.txt](https://github.com/ShiftyTR/Proxy-List/blob/master/socks4.txt)
- [ShiftyTR/Proxy-List/socks5.txt](https://github.com/ShiftyTR/Proxy-List/blob/master/socks5.txt)
- [socks-proxy.net](https://www.socks-proxy.net)
- [sslproxies.org](https://www.sslproxies.org)
- [TheSpeedX/PROXY-List/http.txt](https://github.com/TheSpeedX/PROXY-List/blob/master/http.txt)
- [TheSpeedX/PROXY-List/socks4.txt](https://github.com/TheSpeedX/PROXY-List/blob/master/socks4.txt)
- [TheSpeedX/PROXY-List/socks5.txt](https://github.com/TheSpeedX/PROXY-List/blob/master/socks5.txt)
- [us-proxy.org](https://www.us-proxy.org)

Feel free to request more sources.

### Proxy scrapers

[](#proxy-scrapers)

Keep in mind that there is prepared multiple types of scraping libraries that can be used to simplify creation of your own source scrapers. Currently supported source data types:

- [JSON list scraper](https://github.com/IlmLV/proxy-scraper/tree/master/src/Scrapers/JsonListScrapper.php)
- [JSON object scraper](https://github.com/IlmLV/proxy-scraper/tree/master/src/Scrapers/JsonScrapper.php)
- [Table list scraper](https://github.com/IlmLV/proxy-scraper/tree/master/src/Scrapers/TableListScraper.php)
- [Plain Text list scraper](https://github.com/IlmLV/proxy-scraper/tree/master/src/Scrapers/TextListScrapper.php)

Proxy validation
----------------

[](#proxy-validation)

This library can also be used for proxy capability validation:

- ***anonymity level***:
    - elite (no origin IP exposure and no proxy relates headers),
    - anonymous (has proxy related headers),
    - exposed (has origin IP exposure)
- if proxy ***server IP*** matches server by whom request is performed
- ***HTTPS*** request support
- various ***request methods***: GET, POST, PUT, OPTIONS, HEAD, DELETE, PATCH
- huge amount of ***request headers*** if they are not modified by proxy - tested in each request method
- multiple public ***domains*** (amazon.com, craigslist.org, example.com, google.com, ss.com)
- average ***latency*** calculation

### Validation example

[](#validation-example)

```
$validation = new IlmLV\ProxyScraper\Validations\ProxyValidation('http://1.1.1.1:80');
dump($validation);
```

Result:

```
{
  "valid": true,
  "anonymityLevel": "elite",
  "ip": {
    "valid": true,
    "countryIsoCode": "NL",
    "organisation": "NForce Entertainment B.V."
  },
  "http": {
    "latency": 0.54314708709717,
    "get": {
      "valid": true,
      "latency": 0.19053816795349,
      "headers": {
        "A-IM": true,
        "Accept": true,
        "Accept-Charset": true,
        "Accept-Encoding": true,
        "Accept-Language": true,
        "Accept-Datetime": true,
        "Access-Control-Request-Method": true,
        "Access-Control-Request-Headers": true,
        "Authorization": true,
        "Cache-Control": true,
        "Connection": true,
        "Cookie": true,
        "Date": true,
        "Expect": true,
        "Forwarded": true,
        "From": true,
        "If-Modified-Since": true,
        "If-None-Match": true,
        "If-Range": true,
        "Max-Forwards": true,
        "Origin": true,
        "Pragma": true,
        "Range": true,
        "Referer": true,
        "TE": true,
        "User-Agent": true,
        "Upgrade": true,
        "Via": true,
        "Warning": true,
        "DNT": true,
        "X-Requested-With": true,
        "X-CSRF-Token": true,
        "X-Real-Ip": true,
        "X-Proxy-Id": true,
        "X-Forwarded": true,
        "X-Forwarded-For": true,
        "Forwarded-For": true,
        "Forwarded-For-Ip": true,
        "Client-Ip": true,
        "X-Client-Ip": true
      }
    },
    "post": {
      "valid": false,
      "latency": null,
      "error": {
        "message": "Connection to proxy closed for \"http://whoami.serviss.it/?format=json\".",
        "file": "/proxy-scraper/vendor/symfony/http-client/Chunk/ErrorChunk.php",
        "line": "56"
      },
      "headers": {}
    },
    "put": {
      "valid": true,
      "latency": 2.1179740428925,
      "headers": {...}
    },
    "options": {
      "valid": true,
      "latency": 1.0257298946381,
      "headers": {...}
    },
    "head": {
      "valid": true,
      "latency": 1.9323780536652,
      "headers": {...}
    },
    "delete": {
      "valid": true,
      "latency": 0.52144622802734,
      "headers": {...}
    },
    "patch": {
      "valid": true,
      "latency": 0.42012906074524,
      "headers": {...}
    }
  },
  "https": {
    "latency": 0.54314708709717,
    "get": {
      "valid": true,
      "latency": 0.19053816795349,
      "headers": {...}
    },
    "post": {
      "valid": false,
      "latency": null,
      "error": {
        "message": "Connection to proxy closed for \"https://whoami.serviss.it/?format=json\".",
        "file": "/proxy-scraper/vendor/symfony/http-client/Chunk/ErrorChunk.php",
        "line": "56"
      },
      "headers": []
    },
    "put": {
      "valid": true,
      "latency": 2.1179740428925,
      "headers": {...}
    },
    "options": {
      "valid": true,
      "latency": 1.0257298946381,
      "headers": {...}
    },
    "head": {
      "valid": true,
      "latency": 1.9323780536652,
      "headers": {...}
    },
    "delete": {
      "valid": true,
      "latency": 0.52144622802734,
      "headers": {...}
    },
    "patch": {
      "valid": true,
      "latency": 0.42012906074524,
      "headers": {...}
    }
  },
  "domains": {
    "amazon.com": {
      "valid": true,
      "latency": 1.7253589630127
    },
    "craigslist.org": {
      "valid": true,
      "latency": 4.507395029068
    },
    "example.com": {
      "valid": true,
      "latency": 0.4618821144104
    },
    "google.com": {
      "valid": false,
      "latency": 0.41366505622864
    },
    "ss.com": {
      "valid": true,
      "latency": 0.44051098823547
    }
  },
  "validatedAt": {
    "date": "2022-12-12 23:09:03.938495",
    "timezone_type": 3,
    "timezone": "Europe/Riga"
  }
}
```

TODO:
-----

[](#todo)

- Add capability to add custom domain validations
- Reduce dependencies
- Test and improve support for wider range of PHP versions
- Improve documentation
- Tighten argument strict conditions
- Add more proxy sources
- Create functional tests
- Monitor test coverage
- Expand php compatibility

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

1246d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa7f8875a9f07bd3dca5156dd16b4ff2d69a6f89478358cfc0e5b1d55f708105?d=identicon)[IlmLV](/maintainers/IlmLV)

---

Top Contributors

[![IlmLV](https://avatars.githubusercontent.com/u/1309998?v=4)](https://github.com/IlmLV "IlmLV (6 commits)")

### Embed Badge

![Health badge](/badges/ilmlv-proxy-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/ilmlv-proxy-scraper/health.svg)](https://phpackages.com/packages/ilmlv-proxy-scraper)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[spatie/laravel-visit

Quickly visit any route of your Laravel app

15614.6k](/packages/spatie-laravel-visit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
