darovec/yii2-hidemy-proxy-parse

Parse proxy list

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2018-01-28 08:17 UTC

This package is not auto-updated.

Last update: 2024-04-19 00:56:45 UTC


README

Parse proxy from hidemy.name extension for Yii2

Installation

The preferred way to install this extension is through composer. Either run

php composer.phar require darovec/yii2-hidemy-proxy-parse

or add

"darovec/yii2-hidemy-proxy-parse": "*"

to the require section of your composer.json file.

Usage

use darovec\hidemyproxy\Proxy;

$ipOne = Proxy::one();
$ipList = Proxy::list();

$ipOne - single proxy ip

$ipList - list of proxy ip

Usage exemple

<?php
namespace app\controllers;

use yii\web\Controller;
use darovec\hidemyproxy\Proxy;

class ProxyController extends Controller
{
	public function actionIndex()
	{
		$proxyIp = Proxy::one();
	}

}