-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Athlon1600/php-proxy-app
- Loading branch information
Showing
1 changed file
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# php-proxy-app | ||
Web Proxy Application built on php-proxy library ready to be installed on your server | ||
Web Proxy Application built on [**php-proxy library**](https://github.com/Athlon1600/php-proxy) ready to be installed on your server | ||
|
||
![alt text](http://i.imgur.com/KrtU5KE.png?1 "This is how PHP-Proxy looks when installed") | ||
|
||
## Installation | ||
|
||
Keep in mind that this is a **project** and not a library. Installing this via *require* would do you not good. | ||
A project such as this, should be installed straight into the public directory of your web server. | ||
|
||
```bash | ||
composer create-project athlon1600/php-proxy-app:dev-master /var/www/ | ||
``` | ||
|
||
If you do not have composer or trying to host this application on a **shared hosting**, then download a pre-installed version of this app as a ZIP archive from [**www.php-proxy.com**](https://www.php-proxy.com/) | ||
|
||
## Keep it up-to-date | ||
|
||
Application itself rarely will change, vast majority of changes will be done to its requirement packages like php-proxy. Simply call this command once in a while to make sure your proxy is always using the latest versions. | ||
|
||
``` | ||
composer update | ||
``` | ||
|
||
#### config.php | ||
|
||
This file will be loaded into the global Config class. | ||
|
||
#### /templates/ | ||
|
||
This should have been named "views", but for historic purposes we keep it as templates. What this is... | ||
|
||
#### /plugins/ | ||
|
||
PHP-Proxy has many of its native plugins, but users are free to write their own which could then be loaded from this very folder. See /plugins/TestPlugin.php for an example. |