whatcms/who-hosts-this-php
Composer 安装命令:
composer require whatcms/who-hosts-this-php
包简介
A simple PHP wrapper for Who-Host-This API calls
README 文档
README
A simple PHP wrapper for Who-Hosts-This API calls
Installation
We recommended installing who-hosts-this-php through Composer.
# Install Composer curl -sS https://getcomposer.org/installer | php
Next, run the Composer command to install the latest stable version of Who-Hosts-This:
php composer.phar require whatcms/who-hosts-this-php
Once installed, you can use the WhoHostsThis class to fetch results:
require 'vendor/autoload.php'; $key = 'Your API Key'; $detector = new \WhoHostsThis\WhoHostsThis($key); $check_url = 'en.wikipedia.org'; $result = $detector->CheckUrl($check_url); print_r($result)
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-22