michaeldomo/php-proxy-list

Proxy list.

Installs: 1 963

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:php-extension

1.0.0 2017-03-27 20:00 UTC

This package is auto-updated.

Last update: 2024-04-29 00:09:18 UTC


README

Generate and store proxy list from site foxtools.ru

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require michaeldomo/php-proxy-list "~1.0.0"

or add

"require michaeldomo/php-proxy-list": "~1.0.0"

to the require section of your composer.json file.

Usage

$path = '@runtime/cache';
//cachetime in seconds, default 7200
$cachetime = 9600;
$model = new \michaeldomo\proxylist\FoxtoolsAdapter($path, $cachetime);
$list = $model->getProxyList();

or you can add your own adapter, just extend michaeldomo\proxylist\BaseProxyList