PHPackages                             rapttor/proxy - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. rapttor/proxy

ActiveLibrary[HTTP &amp; Networking](/categories/http)

rapttor/proxy
=============

Proxy list retrieve and provide

011.8k↓36.7%PHP

Since Jun 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rapttor/proxy)[ Packagist](https://packagist.org/packages/rapttor/proxy)[ RSS](/packages/rapttor-proxy/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

RapTToR Proxy Class
===================

[](#rapttor-proxy-class)

renew proxies:
--------------

[](#renew-proxies)

occasionally, recommended once a hour run loadAll method the list will invalidate once a day, and will get re-loaded.

```
$p=new \RapTToR\Proxy; $P->loadAll();

```

run/get a proxy:
----------------

[](#runget-a-proxy)

get multiple proxies

```
$proxies = (new \RapTToR\Proxy)->getAll(
    array(
        "countries"=>array("ca","us),
        // one or more criteria below:
        // "speed"=>"100", // all lower response than 100ms
        // "uptime"=>"90", // all uptime larger than 90%
        // "anonimity"=>"anonimous",
        // "scheme"=>"socks4",
    )
);

```

later use

$proxy=$proxies(array\_rand($proxies));

get one proxy (no parameters required, but can use all of them combines)

```
$proxy = (new \RapTToR\Proxy)->get(
    array(
        "country" => "ca"
        // "countries"=>array("ca","us),
        // "speed"=>"100", // all lower response than 100ms
        // "uptime"=>"90", // all uptime larger than 90%
        // "anonimity"=>"anonimous",
        // "scheme"=>"socks4",
    )
);

```

response:
---------

[](#response)

array(4) { \["scheme"\]=&gt; string(6) "socks4" \["ip"\]=&gt; string(13) "192.99.201.39" \["port"\]=&gt; string(5) "18336" \["country"\]=&gt; string(2) "CA" }

todo:
-----

[](#todo)

- adding more sources
- keep and validate logs
- optimization
- unit-Testing with PHPUnit \[in progress\]

changelog
---------

[](#changelog)

- Sep 29. 2023 : First public release
- Sep 21. 2023 : first draft of the class

links
-----

[](#links)

- [github](https://github.com/rapttor/proxy.git)
- [website](www.rapttor.com)

licence
-------

[](#licence)

- DBAD ()

install
-------

[](#install)

```
composer require rapttor/proxy

```

or

```
"require": {
  "rapttor/proxy": "dev-master"
},
"repositories":[
  {
    "type": "vcs",
    "url": "https://github.com/rapttor/proxy.git"
  }
]

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/636179fb706f9032bb1fe09f133d88521b2c4e34934c6e3de56decee741591ee?d=identicon)[rapttor](/maintainers/rapttor)

---

Top Contributors

[![rapttor](https://avatars.githubusercontent.com/u/5603881?v=4)](https://github.com/rapttor "rapttor (35 commits)")

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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