This is a simple PHP-library to create proxy-service via HTTP-requests just having CURL.
That is, there is no need to install any other software, such as a proxy server (you need just PHP).
Seriously though, this project was created just for fun :)
See tests
directory for usage examples.
Add the dependency directly to your composer.json
file:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/zapalm/request-proxy"
}
],
"require": {
"php": ">=5.6",
"zapalm/request-proxy": "dev-master"
},
Give the star to the project. That's all! :)
Contributors must follow the following rules:
- Make your Pull Request on the dev branch, NOT the master branch.
- Do not update a helper version number.
- Follow PSR coding standards.
Contributors wishing to edit the project's files should follow the following process:
- Create your GitHub account, if you do not have one already.
- Fork the project to your GitHub account.
- Clone your fork to your local machine.
- Create a branch in your local clone of the project for your changes.
- Change the files in your branch. Be sure to follow the coding standards.
- Push your changed branch to your fork in your GitHub account.
- Create a pull request for your changes on the dev branch of the project. If you need help to make a pull request, read the GitHub help page about creating pull requests.
- Wait for the maintainer to apply your changes.
Do not hesitate to create a pull request if even it's hard for you to apply the coding standards.