PHPackages                             szczyglis/php-ultra-small-proxy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. szczyglis/php-ultra-small-proxy

ActiveLibrary[HTTP &amp; Networking](/categories/http)

szczyglis/php-ultra-small-proxy
===============================

Lightweight proxy with full support for sessions, cookies, POST/FORM submissions, and URL rewriting.

v2.1.3(1y ago)202437MITPHPPHP ^7.2.5|^8.0

Since Apr 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/szczyglis-dev/php-ultra-small-proxy)[ Packagist](https://packagist.org/packages/szczyglis/php-ultra-small-proxy)[ Docs](https://github.com/szczyglis-dev/php-ultra-small-proxy)[ RSS](/packages/szczyglis-php-ultra-small-proxy/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Release: **2.1.3** | build: **2024.08.26** | PHP: **^7.2.5|^8.0**

Ultra Small Proxy 2
===================

[](#ultra-small-proxy-2)

**Ultra Small Proxy is a lightweight proxy written in PHP.**

How to install
--------------

[](#how-to-install)

```
composer require szczyglis/php-ultra-small-proxy

```

Features
--------

[](#features)

- Proxy server written in PHP
- Easy to use and integrate
- Simple and lightweight
- Sessions support
- Supports sending and receiving cookies
- Supports sending and receiving HTTP headers
- Cache and asset storage
- Domain and IP/host connection support
- HTTP Basic Auth support
- GET and POST request handling
- Form submission support
- POST variable redirection
- Toolbar with address bar, configuration, and debugger
- URLs rewritten/proxied at runtime (links, images, CSS, JavaScript, etc.)
- Two different methods for URL rewriting: Regex (with preg\_replace) and XML (with libxml/DOM)
- Supports PHP 7.2.5+ and 8.0+

Requirements
------------

[](#requirements)

- PHP 7.2.5+ or 8.0+ with CURL and XML extensions
- Composer -

Usage example
-------------

[](#usage-example)

```
