Download the PHP package phprivoxy/proxy without Composer
On this page you can find all versions of the php package phprivoxy/proxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phprivoxy/proxy
More information about phprivoxy/proxy
Files in phprivoxy/proxy
Package proxy
Short Description Core library for HTTP/HTTPS proxy building.
License MIT
Homepage https://www.phprivoxy.ru
Informations about the package proxy
phprivoxy/proxy
Core library for HTTP/HTTPS proxy building.
This PHP package based on Workerman framework (https://github.com/walkor/workerman) and will be useful for custom proxy servers creation.
Requirements
- PHP >= 8.1
Installation
Using composer (recommended)
Simple transparent proxy sample
Configure your browser to work through a proxy server with the IP address 127.0.0.1 and port 8080.
Try to open any site on HTTP or HTTPS protocols. As sample, try to open https://php.net, https://google.com, https://microsoft.com.
This sample you also may find at "tests" directory.
Just run it:
Simple SSL MITM (Man In The Middle) proxy sample
This sample you also may find at "tests" directory.
Just run it:
On first run it create a self-signed SSL root certificate in CA subdirectory. Add this self-signed CA certificate in your browser trusted certificates!
For each site PHPrivoxy\Proxy\MITM will generate self-signed certificate in "certificates" subdirectory.
In this sample, we use simple PSR-15 compatible HttpClientMiddleware for site downloading. You also may add your own PSR-15 compatible Middlewares in queue for PSR-15 handler (modified Relay\Relay in this sample).
License
MIT License See LICENSE
All versions of proxy with dependencies
phprivoxy/core Version ^0.9.11
phprivoxy/x509 Version >=0.8.2
psr/http-message Version >=2.0
psr/http-server-handler Version >=1.0
workerman/psr7 Version >=2.0