PHPackages                             torres-developer/reverse-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. torres-developer/reverse-proxy

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

torres-developer/reverse-proxy
==============================

Reverse Proxy using only PHP

018PHP

Since Apr 23Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Reverse Proxy
=============

[](#reverse-proxy)

A reverse proxy with PHP.

Why?
====

[](#why)

My school gives to the students access to a server.

We can serve static files and PHP it's also supported. That is why this is in PHP.

Let's say I created an HTTP server at localhost port 3000 (with PHP, node.js, ...). I can't make people able to access it over the internet because I don't have privileges to change the Apache server config or whatever to create a reverse proxy.

I'm trying to use the tools that were given to me :)

Examples
========

[](#examples)

The simplest use
----------------

[](#the-simplest-use)

It will reverse proxy to `http://localhost:3000/` always.

```
