timgws/domainlist
Composer 安装命令:
composer require timgws/domainlist
包简介
A simple class for lists of domains
README 文档
README
A quick class for managing lists of domains. Nothing special.
Example of adding domains
$list = new DomainList('ing'); $list->add([ $list->c('the awesome € shop'), $list->c('hex-follows-0xaf--0xfacebeef'), $list->c('--lol-0xfacebeef') ]); $domains = $list->get(); //--- $domains = [ 'hex-follows-0xaf-0xfacebeef.ing', 'hexfollows0xaf0xfacebeef.ing', 'the-awesome-eur-shop.ing', 'theawesomeeurshop.ing' ];
This class should validate that domains match RFC 1035 valid domains.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-16