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
Requires
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-httpclient: ~2.0.0
This package is not auto-updated.
Last update: 2025-03-07 05:06:26 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();
}
}