PHPackages                             yousafsyed/standalone\_php\_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. yousafsyed/standalone\_php\_proxy

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

yousafsyed/standalone\_php\_proxy
=================================

Standalone proxy server in PHP sockets, I am using Guzzle to route the requests. Idea was if I can make HTTP Proxy Server in php to get more control over proxy and custom logic. Currently it only supports http requests you can choose port of your own choice plus if you want to make it public or private. This is a standard HTTP Proxy so you can use in browser. By default its only working for localhost, but you can allow public ip's.

v1.0(10y ago)51422MITPHP

Since Jan 3Pushed 8y ago3 watchersCompare

[ Source](https://github.com/yousafsyed/standalone_php_proxy)[ Packagist](https://packagist.org/packages/yousafsyed/standalone_php_proxy)[ RSS](/packages/yousafsyed-standalone-php-proxy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

standalone\_php\_proxy
======================

[](#standalone_php_proxy)

Standalone proxy server in PHP sockets, I am using Guzzle to route the requests. Idea was if I can make HTTP Proxy Server in php to get more control over proxy and custom logic. Currently it only supports http requests you can choose port of your own choice plus if you want to make it public or private. This is a standard HTTP Proxy so you can use in browser. By default its only working for localhost, but you can allow public ip's.

Todo
----

[](#todo)

1. Package availble via composer
2. Easy way to integrate custom Logic
3. Support HTTPs
4. Parse FormData

### How To Install?

[](#how-to-install)

Define package in your composer.json file as require dependency

```
   "require": {
        "yousafsyed/standalone_php_proxy": "^v1.0"
    }
```

Now update/install composer dependencies

```
   $ composer install
   $ composer update

```

### Example

[](#example)

Create a file server.php

```
   require "./vendor/autoload.php";
   use YousafSyed\ProxyServer;
   $server = new ProxyServer(); // optional parameters for port and host like this new ProxyServer('8080','localhost')
   // finally run the server
   $server->run();
```

### How to Run?

[](#how-to-run)

```
$ php server.php

```

### ScreenShot

[](#screenshot)

[![ScreenShot](https://camo.githubusercontent.com/21aa444cc7213e19fbfcc4ea1df796960317aca547432c1a7007589adfa4f945/687474703a2f2f692e696d6775722e636f6d2f4e3577753830462e706e67)](https://camo.githubusercontent.com/21aa444cc7213e19fbfcc4ea1df796960317aca547432c1a7007589adfa4f945/687474703a2f2f692e696d6775722e636f6d2f4e3577753830462e706e67)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3780d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/407d2d8822d73af86b3d3b1ee69adfa1671e409d62aa677f1629a31bc66657b8?d=identicon)[yousafsyed](/maintainers/yousafsyed)

---

Top Contributors

[![yousafsyed](https://avatars.githubusercontent.com/u/4663209?v=4)](https://github.com/yousafsyed "yousafsyed (42 commits)")

---

Tags

httpproxyproxy server

### Embed Badge

![Health badge](/badges/yousafsyed-standalone-php-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/yousafsyed-standalone-php-proxy/health.svg)](https://phpackages.com/packages/yousafsyed-standalone-php-proxy)
```

###  Alternatives

[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48619.2M540](/packages/nette-http)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

916.4M49](/packages/graham-campbell-guzzle-factory)[clue/http-proxy-react

Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP

472.3M33](/packages/clue-http-proxy-react)[zounar/php-proxy

Forward your HTTP/HTTPS requests to another server.

1814.0k](/packages/zounar-php-proxy)[remic/guzzlecache

Laravel 5 package for caching Guzzle's GET requests.

189.3k](/packages/remic-guzzlecache)[flowpack/varnish

Varnish integration for Neos

2052.9k](/packages/flowpack-varnish)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
