Download the PHP package klkvsk/whoeasy without Composer
On this page you can find all versions of the php package klkvsk/whoeasy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download klkvsk/whoeasy
More information about klkvsk/whoeasy
Files in klkvsk/whoeasy
Package whoeasy
Short Description Easily lookup domain names, IP addresses and AS numbers by WHOIS.
License Apache-2.0
Homepage https://github.com/klkvsk/whoeasy
Informations about the package whoeasy
Whoeasy - smart WHOIS client and parser for PHP
Lookup domain names, IP addresses and AS numbers by WHOIS. Parse answers into structured data. Use proxies to counter rate limits.
Installation
Install from composer (until 1.0 prefer dev-master over releases, it's buggy anyway):
Usage
The main Whois
class is a factory, and provides shorthand methods.
You can customize the factory by extending Whois
or you can utilize WhoisClient
and WhoisParser
directly.
Whoeasy is easily extensible. You can add your own client adapters, parsers, server configs, proxy providers, etc.
Built in client adapters are:
- CurlTelnet - default if ext-curl is installed. Supports any proxies curl does.
- Socket - fallback, uses
stream_socket_client
. Supports only HTTP(s)-tunnel proxies.
Whois-servers registry
By default, the client will select an appropriate server for your query.
The list of servers is automatically generated from https://github.com/rfc1036/whois -
a default whois
tool in most Linux distributions. This is the most up-to-date source
of correct whois servers per tld.
See generated registry for compiled list. See generator for source lists and build script.
CLI tool
Whoeasy can be used as command line tool:
ToDos
- Using RDAP as an alternative adapter
- Replace Novutec parsing templates with own
3rd Party Libraries
Parsing to a single format structure is based on Novutec WhoisParser
Issues
Please report any issues via https://github.com/klkvsk/whoeasy/issues
LICENSE and COPYRIGHT
Copyright (c) 2023 Misha Kulakovsky (https://github.com/klkvsk)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.