nocvp/zf3-whois

此包最新版本(dev-master)没有提供许可证信息。

安装: 6

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 3

分支: 0

类型:模块

dev-master 2016-12-10 14:15 UTC

This package is not auto-updated.

Last update: 2024-09-14 20:04:10 UTC


README

此模块使用了 phois/whois

安装

使用 composer composer 进行安装。在您的 composer.json 中添加此项目

"require": {
    "nocvp/zf3-whois": "dev-master"
}

示例

Zf3 Whois 的默认使用方法

$whoisService = $container->get('whois');
$whois = $whoisService->query('example.org');

echo $whois->info();
echo $whois->isAvailable() ? 'available' : 'not available';

or in your controller

$whois = $this->whois('example.org');
echo $whois->info();
echo $whois->isAvailable() ? 'available' : 'not available';

贡献者

Semih SARI - semih.sari@noc.com.tr