sazharul/iproxy
最新稳定版本:v1.0.0
Composer 安装命令:
composer require sazharul/iproxy
包简介
A Laravel package to easily configure and manage proxy servers, supporting HTTP, HTTPS, SOCKS4, and SOCKS5 proxies with authentication, logging, and customizable routing rules.
README 文档
README
The Laravel IProxy package provides a convenient way to interact with the iProxy API for managing proxy configurations in Laravel applications.
Installation
You can install the package via Composer:
composer require sazharul/iproxy
Publish the package configuration file using Artisan:
php artisan vendor:publish --provider="Sazharul\Iproxy\IproxyServiceProvider"
Usage
use Sazharul\Iproxy\Facades\Iproxy; // Get the list of connections $connections = Iproxy::getConnectionList(); // Get proxies for a specific connection $proxies = Iproxy::getProxiesByConnectionId($connectionId); // Create a new proxy $newProxy = Iproxy::createProxy($connectionId); // Delete a proxy $deleteResponse = Iproxy::deleteProxy($connectionId, $proxyId); // Update a proxy $updateResponse = Iproxy::updateProxy($connectionId, $proxyId, $data); // Change the password of a proxy $passwordChangeResponse = Iproxy::changeProxyPassword($connectionId, $proxyId, $newPassword); // Change the login of a proxy $loginChangeResponse = Iproxy::changeProxyLogin($connectionId, $proxyId, $newLogin);
Make sure to replace Sazharul with your package vendor name and Iproxy with your package name.
Configuration
You need to set your iProxy API key in the config/iproxy.php file.
return [ 'api_key' => env('IPROXY_KEY'), ];
License
The Laravel IProxy package is open-sourced software licensed under the MIT license.
Feel free to modify this documentation as needed, adding more details, examples, or instructions specific to your package.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-04