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

010.1k—3.8%PHP

Since Jun 24Pushed 10mo ago1 watchersCompare

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

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 22% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity14

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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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