Simple PHP cURL wrapper for Tor network.
- php-curl
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
composer req qbbr/tor-proxy
./vendor/bin/phpunit
tested on: Debian 9 amd64, Ubuntu 16.10 amd64, Win7 Ultimate x32
php example/1.php