qbbr / tor-proxy
Simple PHP cURL wrapper for Tor network.
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/qbbr/tor-proxy
Requires
- php: ^7.0
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: ^6.5
This package is auto-updated.
Last update: 2025-09-14 18:59:41 UTC
README
Simple PHP cURL wrapper for Tor network.
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