I have just released TorControl, a PHP library to control a Tor server.
This library implements the Tor Control protocol.
It supports:
- Connect to a Tor server through network socket, SSL network socket or UNIX socket
- Null, password and cookie file authentication methods
- Automatic authentication for null and cookie file methods
- Multi-line replies
It is unit-tested with PHPUnit and and installable with Composer.
Download it, see examples and read the doc on the GitHub repository of the library.

One comment