tinyproxy is a lightweight PHP proxy service with caching for fetching and serving web resources.
- Clone this repository to your web server:
git clone https://github.com/bethropolis/tinyproxy.git
cd tinyproxy- Install the required dependencies using Composer:
composer install
- Run the TinyProxy service:
php -S localhost:8080
I recommend using an
apacheserver ornginxserver.
using docker:
docker build -t tinyproxy .
docker run -p 8080:80 --name tinyproxy-container tinyproxy
To use TinyProxy, simply make requests to the proxy URL with the url parameter:
http://localhost:8080/?url=https://www.example.com
curl:
$ curl http://localhost:8080/?url=https://www.example.comreplace
localhost:8080with your web server's address.
| parameter | description | type |
|---|---|---|
url |
The URL to proxy. | string |
cache |
The cache directory. | bool |
for more customization edit the
config.phpfile.
Contributions are welcome! If you find a bug or have an enhancement idea, please open an issue or submit a pull request.
TinyProxy is released under the MIT License. See LICENSE for details.
Happy proxying! 💜

