ozyab/pubproxy-rand

Get one rand proxy server from pubproxy.com. No API key required.

dev-master 2020-04-14 13:39 UTC

This package is not auto-updated.

Last update: 2025-08-14 13:28:17 UTC


README

Get random public proxy fo free from PubProxy homework. was made in learning purposes

Known Limitations

As free user, there is only 50 request a day. So we advise you to cache responses.

Installation

Install this package via Composer.

composer require "ozyab/pubproxy-rand:^1.0"

Usage

Get Proxy

require_once ('vendor/autoload.php');
use \Ozyab\PubProxyRand;

$proxy = new PubProxyRand;
echo $proxy->fetch();