kevinoo/panorama-whois
Composer 安装命令:
composer require kevinoo/panorama-whois
包简介
PanoramaWhois API is a powerful and versatile tool for retrieving Whois data from multiple sources in a single, comprehensive lookup. This API provides users with an extensive panorama of domain or IP information, aggregated through a cascade of checks across various Whois servers.
README 文档
README
PanoramaWhois
PanoramaWhois is a powerful and versatile tool for retrieving Whois data from multiple sources in a single, comprehensive lookup. This API provides users with an extensive panorama of domain or IP information, aggregated through a cascade of checks across various Whois servers.
Features
- Multi-Source Lookup: Obtain Whois data from diverse servers to ensure a thorough and accurate analysis.
- Comprehensive Information: Access detailed information about domains or IPs, combining results for a holistic view.
- Easy Integration: Seamless integration into your applications or services, making it convenient for developers to harness the power of PanoramaWhois.
Installation
Dependencies
Installation via Composer
Require the package via Composer:
composer require kevinoo/panorama-whois
Laravel
Add database support into database.php:
<?php return [ // ... 'connections' => [ // Required 'panorama-whois' => [ 'driver' => 'sqlite', 'database' => 'path to database', // ex. dirname(__DIR__) .'/vendor/kevinoo/panorama-whois/database/panorama-whois.sqlite' ], // Optional 'panorama-whois-cache' => [ 'driver' => 'sqlite', 'database' => 'path to database', // ex. dirname(__DIR__) .'/vendor/kevinoo/panorama-whois/database/cache.sqlite' ], // ... ] // ... ];
Publish the configuration file:
php artisan vendor:publish --provider="kevinoo\PanoramaWhois\Support\PanoramaWhoisServiceProvider"
Review the configuration file:
config/panorama-whois.php
Usage
Request Format
use \kevinoo\PanoramaWhois\PanoramaWhois; // ... PanoramaWhois::getWhoIS( domain_name ); // Example PanoramaWhois::getWhoIS( 'facebook.com' );
Custom provider (Optional)
To add a custom provider(s), add into your config/panorama-whois.php file
// ... 'whois_providers' => [ kevinoo\PanoramaWhois\Providers\WhoIsCom::class, kevinoo\PanoramaWhois\Providers\PhpWhoisLibrary::class, kevinoo\PanoramaWhois\Providers\GARRServices::class, // CustomProviderClass::class ], // ...
Returns
{
"last_update": "2024-03-25T08:56:12+00:00",
"registrar": {
"code": "3237",
"name": "RegistrarSafe, LLC",
"url": "https://www.registrarsafe.com",
"phone": "+1.6503087004",
"email": "[https://www.whois.com/eimg/7/87/787d95e27790b1a17309e4c1b1bd81e4f46ae801.png]@registrarsafe.com",
"address": null,
"country": null,
"whois_server": "whois.registrarsafe.com",
"dns_security": false
},
"domain": {
"code": null,
"ip": null,
"name": null,
"is_registered": true,
"created_at": "1997-03-29T05:00:00Z",
"updated_at": "2023-04-26T19:04:19Z",
"expiration_date": "2032-03-30T04:00:00Z",
"dns": [
{
"ip": "185.89.219.12",
"whois_server": "whois.ripe.net",
"code": "NE1880-RIPE",
"name": "glb-external-dns-anycast",
"address": "4 GRAND CANAL SQUARE, GRAND CANAL HARBOUR, DUBLIN, IRELAND",
"country": "IE",
"phone": null,
"email": null,
"abuse_email": null,
"created_at": "2022-05-19T14:20:14Z",
"updated_at": "2022-05-19T14:20:14Z",
"url": "D.NS.FACEBOOK.COM"
},
{
"ip": "129.134.30.12",
"whois_server": "whois.arin.net",
"code": "THEFA-3",
"name": "THEFA-3",
"address": "1601 Willow Rd.",
"country": "GBR",
"phone": "+1-650-543-4800",
"email": "noc@fb.com",
"abuse_email": "noc@fb.com",
"created_at": "2015-05-13",
"updated_at": "2021-12-14",
"url": "A.NS.FACEBOOK.COM"
},
{
"ip": "129.134.31.12",
"whois_server": "whois.arin.net",
"code": "THEFA-3",
"name": "THEFA-3",
"address": "1601 Willow Rd.",
"country": "NLD",
"phone": "+1-650-543-4800",
"email": "domain@facebook.com",
"abuse_email": "domain@facebook.com",
"created_at": "2015-05-13",
"updated_at": "2021-12-14",
"url": "B.NS.FACEBOOK.COM"
},
{
"ip": "185.89.218.12",
"whois_server": "whois.ripe.net",
"code": "NE1880-RIPE",
"name": "glb-external-dns-anycast",
"address": "4 GRAND CANAL SQUARE, GRAND CANAL HARBOUR, DUBLIN, IRELAND",
"country": "IE",
"phone": null,
"email": null,
"abuse_email": null,
"created_at": "2022-05-19T14:20:14Z",
"updated_at": "2022-05-19T14:20:14Z",
"url": "C.NS.FACEBOOK.COM"
}
],
"status": [
"clientDeleteProhibited",
"clientTransferProhibited",
"clientUpdateProhibited",
"serverDeleteProhibited",
"serverTransferProhibited",
"serverUpdateProhibited"
]
},
"registrant": {
"code": null,
"name": "Domain Admin (Meta Platforms, Inc.)",
"address": "1601 Willow Rd",
"country": "USA",
"phone": "+1.6505434800",
"email": "[https://www.whois.com/eimg/c/5c/c5c95f3193f9aee74b0ff9802339cc2b024afd2e.png]@fb.com",
"site_web": null,
"created_at": null,
"updated_at": null
},
"admin": {
"code": null,
"name": "Domain Admin (Meta Platforms, Inc.)",
"phone": "+1.6505434800",
"email": "[https://www.whois.com/eimg/c/5c/c5c95f3193f9aee74b0ff9802339cc2b024afd2e.png]@fb.com",
"created_at": null,
"updated_at": null,
"address": "1601 Willow Rd, 94025, Menlo Park, CA, US",
"country": "USA"
},
"technical": {
"code": null,
"name": "Domain Admin",
"phone": "+1.6505434800",
"email": "[https://www.whois.com/eimg/c/5c/c5c95f3193f9aee74b0ff9802339cc2b024afd2e.png]@fb.com",
"created_at": null,
"updated_at": null,
"address": "1601 Willow Rd, 94025, Menlo Park, CA, US",
"country": "USA"
}
}
Enable OCR parser
PanoramaWhois use https://ocr.space/ to parse images with email. To enable this feature, add this environment key in your .env file:
PANORAMA_WHOIS_OCR_APIKEY="your API key getted from https://ocr.space/OCRAPI"
Contributing
We welcome contributions! Feel free to submit bug reports, feature requests, or pull requests to help improve PanoramaWhois.
License
This project is licensed under the MIT License.
kevinoo/panorama-whois 适用场景与选型建议
kevinoo/panorama-whois 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「tool」 「domain」 「whois」 「servers」 「IP」 「lookup」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kevinoo/panorama-whois 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kevinoo/panorama-whois 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kevinoo/panorama-whois 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Backend Google Sign On for Magento 2
An app setting manager tool for laravel nova
Build a domain-oriented application on Laravel Framework
Command bus implementation: Commands and domain events
The Message Submission Agent Diagnostics tool (msadiag) facilitates testing the compatibility of third party message submission agents.
A module manager for Zend Framework which can be used to create configs per domain.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-13