Download the PHP package cyberline/tor-detect without Composer
On this page you can find all versions of the php package cyberline/tor-detect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cyberline/tor-detect
More information about cyberline/tor-detect
Files in cyberline/tor-detect
Download cyberline/tor-detect
More information about cyberline/tor-detect
Files in cyberline/tor-detect
Vendor cyberline
Package tor-detect
Short Description Class to determine if Remote User is using the TOR Network
License proprietary
Homepage https://github.com/CyberLine/TorDetect
Package tor-detect
Short Description Class to determine if Remote User is using the TOR Network
License proprietary
Homepage https://github.com/CyberLine/TorDetect
Please rate this library. Is it a good library?
Informations about the package tor-detect
TorDetect
Tor is collaborative network that allows people to access sites hiding their original IP addresses to avoid being tracked. Many sites do not like to allow accesses of users that use the Tor network, as users may use anonymous access perform illegal activities. This class provides a solution that allows to determine if an user is accessing a site using the Tor network. This allows a PHP site to disallow the user to access a site using the Tor network.
Example
<?php
require_once 'src/TorDetect.php';
try {
$instance = \TorDetect\TorDetect::getInstance();
// check current users ip and
// return 1 or 0
print intval($instance->isTorActive());
// check ip of another user
print intval($instance->setTarget('1.2.3.4')->isTorActive());
} catch (\Exception $e) {
print $e->getMessage();
}
All versions of tor-detect with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package cyberline/tor-detect contains the following files
Loading the files please wait ....