athlon1600/php-proxy-app
Composer 安装命令:
composer create-project athlon1600/php-proxy-app
包简介
Web proxy application project powered by PHP-Proxy library
README 文档
README
php-proxy-app
Web Proxy Application built on php-proxy library ready to be installed on your server
Web-Proxy vs Proxy Server
Keep in mind that sites/pages that are too script-heavy or with too many "dynamic parts", may not work with this proxy script. That is a known limitation of web proxies. For such sites, you should use an actual proxy server to route your browser's HTTP requests through:
https://www.proxynova.com/proxy-software/
⭐ Demo
See a working demo of this web application here:
🐋 Deploy using Docker
Install Docker first:
curl -sSL https://get.docker.com/ | sh
And then run:
docker run -d -p 8080:80 -p 8443:443 dwaaan/php-proxy
Credits to:
🔨 Manual Installation
Keep in mind that this is a project and not a library. Installing this via composer require would do you no good.
A project such as this should be installed straight into the public directory of your web server.
composer create-project athlon1600/php-proxy-app:"^4.0" /var/www/
Keep it up-to-date
Application itself rarely will change, vast majority of changes will be done to its requirement packages like php-proxy. Simply call this command once in a while to make sure your proxy is always using the latest versions.
composer update
config.php
This file will be loaded into the global Config class.
/templates/
This should have been named "views", but for historic purposes we keep it named as templates for now.
/plugins/
PHP-Proxy provides many of its own native plugins, but users are free to write their own custom plugins, which could then be automatically loaded from this very folder. See /plugins/TestPlugin.php for an example.
🚧 To Do List
As of March 25, 2018:
- Plugin for facebook.com
- Plugin for dailymotion.com
- Better support/documentation for Plugin Development
- Better Javascript support
athlon1600/php-proxy-app 适用场景与选型建议
athlon1600/php-proxy-app 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15.62k 次下载、GitHub Stars 达 861, 最近一次更新时间为 2015 年 05 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php web proxy」 「web proxy」 「proxy script」 「php proxy application」 「php proxy web」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 athlon1600/php-proxy-app 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 athlon1600/php-proxy-app 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 athlon1600/php-proxy-app 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Lazy loading for middleware and request handlers
Model of a web-based resource
Retrieve a WebResourceInterface instance over HTTP
Selectize Theme for Bootstrap 4
Provides command to manage a web library directory
Get working public proxy list for free by PubProxy (No API key required).
统计信息
- 总下载量: 15.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 863
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-11