Download the PHP package xandco/whoisproxy without Composer
On this page you can find all versions of the php package xandco/whoisproxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xandco/whoisproxy
More information about xandco/whoisproxy
Files in xandco/whoisproxy
Package whoisproxy
Short Description Whois Proxy, queries whois servers over http proxy.
License MIT
Homepage https://github.com/xandco/whoisproxy
Informations about the package whoisproxy
WhoisProxy
Whois Proxy lets you easily query a whois server from behind an http proxy.
During the query process, the package will connect to the http proxy you provide. Once successfully connected the package will query the default whois server, or a provided whois server on port 43 with the supplied domain and when successful the package will return the raw whois query.
This is for educational purposes only and not meant to circumvent any of the rate-limiting or ip banning systems these whois servers may have implemented. Use at your own risk.
Installation
Install this package via composer:
This service provider must be installed (if using anything below Laravel 5.5)
Publish and customize configuration file with:
Usage
Create new WhoisProxy
object:
Then call query()
method to query a whois server:
You can also call the deepQuery()
method to automatically find and query the most authoritative whois server for the specified domain (usually the registrars whois server):
Here is an example of the output:
Options
When creating the WhoisProxy
object, you can pass one parameter: $options
.
Options array parameters:
Option | Notes | Type | Default |
---|---|---|---|
host |
proxy host | string |
127.0.0.1 |
port |
proxy port | int |
8080 |
timeout |
timeout in seconds | int |
10 |
server |
default whois server | string |
whois.iana.org |
max_loops |
max while loops | int |
512 |
Instead of setting these options when creating the object, you can alternatively set these globally in the configuration file. You can publish the configuration and customize it as shown in the Installation section.
Changelog
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- X&Co
- Miguel Batres
- All Contributors
License
MIT - Please see the license file for more information.