bafoed/php-tor-control

PHP library to manipulate with tor

dev-master 2016-05-11 06:21 UTC

This package is not auto-updated.

Last update: 2024-05-17 18:22:25 UTC


README

Install

Via Composer

$ composer require bafoed/php-tor-control

Usage

You can see a simple example of usage in example.php.

Available methods are:

<?php
$torControl->changeIP(); // creates new tor identity
$torControl->getVersion(); // returns tord version 
$torControl->getAddress(); // returns IP address of server
$torControl->getUser(); // returns username of tord user
$torControl->getAccountingStats(); // return some network stats if accounting is enabled
$torControl->_getInfo('circuit-status'); // call other tord functions (look for GETINFO docs)

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email bafoed@bafoed.ru instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.