isaeken / proxier
This package is abandoned and no longer maintained.
No replacement package was suggested.
Web proxy for PHP
Fund package maintenance!
isaeken
1.1.1
2023-05-13 18:36 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-dom: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.0
- minicli/minicli: ^4.0
- symfony/http-foundation: ^6.2
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^6.2
README
DEPRECATED
A simple PHP web proxy.
Install
As a standalone package
composer require isaeken/proxier
As a global tool
composer global require isaeken/proxier
Tool Usage
proxier <url> --method=<method> --headers=<headers>
Proxy an URL
proxier http://isaeken.com.tr
Proxy an URL with custom html header
proxier http://isaeken.com.tr --headers="{'Content-Type': 'text/html'}"
Proxy an URL with custom method
proxier http://isaeken.com.tr --method=POST
Proxy an URL and save to a file
proxier http://isaeken.com.tr --output=index.html
Usage
Proxy an URL
use IsaEken\Proxier\Proxier; $proxier = new Proxier(); $proxier->boot(); $proxier->proxyUsingGlobals('http://isaeken.com.tr');
Notice
This package is under development. Please do not use it in production.
License
The MIT License (MIT). Please see License File for more information.