xchimx/laravel-gimmeproxy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xchimx/laravel-gimmeproxy

最新稳定版本:1.0.0

Composer 安装命令:

composer require xchimx/laravel-gimmeproxy

包简介

Laravel package for easy integration with the GimmeProxy API. It allows you to use the GimmeProxy API in your Laravel applications to proxies.

README 文档

README

Laravel package for easy integration with the GimmeProxy API. It allows you to use the GimmeProxy API in your Laravel applications.

Installation

You can install the package via composer:

composer require xchimx/laravel-gimmeproxy

Usage

Using the Facade

You can use the provided GimmeProxy facade:

use Xchimx\GimmeProxy\Facades\GimmeProxy;

class GimmeProxyController extends Controller
{
    public function getProxy()
    {
        return GimmeProxy::getProxy([
            'amount' => 5,
            'api_key' => 'YOUR-API-KEY', //but you don't need any
            'maxCheckPeriod' => 600,
            'protocol' => 'http',
            'anonymityLevel' => 1,
            'user-agent' => true,
            'ipPort' => 'true',
        ]);
    }
}

Features

  • The Amount parameter is from the package itself. This controls the quantity.
  • Duplicate proxies are sorted out.
  • The output is stopped when no more new proxies are available.

All Parameters

License

This package is released under the MIT License.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-04