定制 mallardduck/whois-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mallardduck/whois-client

最新稳定版本:3.0.0

Composer 安装命令:

composer require mallardduck/whois-client

包简介

A very basic Whois client for PHP. The library is limited in function since it's intended to be a low-level client that handles only request and raw output.

README 文档

README

Source Code License PHP Version Latest Stable Version Total Download Count Travis Build Status Scrutinizer Code Quality Code Coverage Coverage Status

A message to Russian 🇷🇺 people

If you currently live in Russia, please read this message.

Purpose

When you need to work with Whois lookups in PHP this library provides a very basic client!

Rather than focus on the user-friendly output this library focuses on the raw Whois protocol. The library is limited in function since its intended to be a low-level client that handles only request and raw output. Basically the package supports the look-up of a TLDs primary Whois server and then will do a query of the domain provided.

If you're looking for a higher level client, please use: Whodis.

Requirements

  • PHP >= 8.1

Past PHP version support

PHP Package
8.0 Current
7.4 2.0.7
7.3 1.2.1

Features

  • Pure PHP based Whois client.
  • Simple API for getting raw Whois results in PHP.
  • Unicode IDN and punycode support.

Installation

The best installation method is to simply use composer.

https://packagist.org/packages/mallardduck/whois-client

Stable version

composer require mallardduck/whois-client

Example usage

require __DIR__ . '/vendor/autoload.php';

use MallardDuck\Whois\Client;

$client = new Client('whois.nic.me');
$response = $client->makeRequest('danpock.me');
echo $response;

License

Whois Client PHP Library is open source software licensed under the GPLv3 license.

统计信息

  • 总下载量: 1.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-02-24