library tor-ip-checker
Checks if given IP is coming from Tor (exit) node.
licvido/tor-ip-checker
Checks if given IP is coming from Tor (exit) node.
- Saturday, August 12, 2017
- by licvido
- Repository
- 2 Watchers
- 2 Stars
- 8 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 100 % Grown
Tor IP Checker
Checks if given IP is coming from Tor (exit) node., (*1)
Installation
The best way to install Tor IP Checker is using Composer:, (*2)
$ composer require licvido/tor-ip-checker
Usage
// prepare required list
$exitNodeList = new ExitNodeList;
$fullNodeList = new FullNodeList;
$checker = new TorIpChecker($exitNodeList);
if ($checker->isInList($_SERVER['REMOTE_ADDR'])) {
// TOR
} else {
// standard way
}
License
This library is licensed under the MIT License - see the LICENSE.md file for details., (*3)
dev-master
9999999-dev
Checks if given IP is coming from Tor (exit) node.
Sources
Download
MIT
The Requires
v1.1
1.1.0.0
Checks if given IP is coming from Tor (exit) node.
Sources
Download
MIT
The Requires
v1.0.0
1.0.0.0
Checks if given IP is coming from TOR (exit) node.
Sources
Download
MIT
The Requires