mallardduck/whodis 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mallardduck/whodis

最新稳定版本:1.0.0

Composer 安装命令:

composer require mallardduck/whodis

包简介

A simple to use whois client for PHP

README 文档

README

Source Code License PHP Version Latest Stable Version Total Download Count

Purpose

A simple to use high-level Whois client for PHP.

Requirements

  • PHP >= 8.0

Installation

The best installation method is to simply use composer.

https://packagist.org/packages/mallardduck/whodis

Stable version

composer require mallardduck/whodis

Example Usage

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

use MallardDuck\Whodis\Whodis;

$whodis = new Whodis();
$response = $whodis->lookup('danpock.me', fullResults: true);
echo $response; // Prints WHOIS results identical to running `whois danpock.me` in shell*.
  • = Varies based on CLI whois client, docs assume your client matches BSD whois which provides recursive results by default.

Testing

$ composer test

Note: Due to how fast PHP tests run false-negatives can spawn. Whois servers may disconnect during a test resulting in empty response and failing tests.

TODO Before V2

  • Add result parsing features,
  • Refactor lookup output to provide POPO of info,
  • Allow output as plain text, or POPOs; maybe different methods?

Contributing

Please see our contributing guide.

Security

If you discover any security related issues, please contact us at security@php-http.org.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 516
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固