wolftotem4/jet-proxy
Composer 安装命令:
composer require wolftotem4/jet-proxy
包简介
An PHP-based proxy, you can use it for web debugging purposes.
README 文档
README
An PHP-based proxy, you can use it for web debugging purposes.
Installation
git clone https://github.com/wolftotem4/jet-proxy.git
cd jet-proxy
composer install
Usage
Domain-Routing Forwarding
- Open and edit
index.php.
$forwarding = [ // Edit the forwarding list below. 'localhost:8080' => ['host' => 'localhost', 'ip' => '127.0.0.1'], // You can disguise as an actual website. (Please don't do anything evil.) // Don't forget you need to set up `/etc/hosts` (Linux) // or '%systemroot%\System32\drivers\etc\hosts' (Windows). 'example.com' => ['host' => 'example.com', 'ip' => '123.123.123.123'], ];
- Run in Apache or PHP's built-in development server.
php -S localhost:8080 index.php
Setting host on command line
# php cli-server [host binding] [target host] [target ip address]
php cli-server.php localhost:8080 example.com 123.123.123.123
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-29