Skip to content

qbbr/TorProxy

Repository files navigation

TorProxy

Simple PHP cURL wrapper for Tor network.

Latest Stable Version Total Downloads License

requirements

  • php-curl

install

tor

apt install tor
# [optional] if u using `$torProxy->changeTorCircuits()` u *must* access to tor control
sed -e 's/#ControlPort 9051/ControlPort 9051/' -i /etc/tor/torrc
sed -e 's/#CookieAuthentication 1/CookieAuthentication 0/' -i /etc/tor/torrc
systemctl restart tor

lib

composer req qbbr/tor-proxy

tests

./vendor/bin/phpunit

tested on: Debian 9 amd64, Ubuntu 16.10 amd64, Win7 Ultimate x32

example

php example/1.php

About

Simple PHP cURL wrapper for Tor network

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages