biteit/domain-expiration-fetcher 问题修复 & 功能扩展

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

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

biteit/domain-expiration-fetcher

Composer 安装命令:

composer require biteit/domain-expiration-fetcher

包简介

Fetches Domain Expiration date from WHOIS servers

README 文档

README

Fetches Domain Expiration information from WHOIS servers

Usage:

$ds = new \BiteIT\Utils\DomainExpirationFetcher();
if($ds->canFetchInfoAbout('com'){
    $date = $ds->fetchExpirationDate($domain);
    var_dump($date);
}

There are certain WHOIS servers that do not publish expiration dates, they are specified in DomainExpirationFetcher::TLDS_WITH_NO_INFO, and as of this date I found out these are the TLDs: 'de', 'eu', 'at', 'bg', 'cy', 'es', 'gr', 'hu', 'ch', 'be', 'lu', 'lv', 'ph', 'no', 'name', 'kz', 'ge', 'az'

If you want to customize any parser or add your own, check WhoisInfoParser.php abstract class and its implementation in whois-parsers folders. You can then set the parser by using

$ds->setWhoisParser($instanceOfMyParser, 'mytld')

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固