nocvp / zf3-whois
此包最新版本(dev-master)没有提供许可证信息。
dev-master
2016-12-10 14:15 UTC
Requires
- php: ^5.6 || ^7.0
- phois/whois: dev-master
- zendframework/zend-modulemanager: ^2.7
- zendframework/zend-servicemanager-di: ^1.0
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