frdl/iana-enterprise-numbers-fetcher
最新稳定版本:v1.0.0
Composer 安装命令:
composer require frdl/iana-enterprise-numbers-fetcher
包简介
Fetch the PEN List from IANA and optionally search in it.
README 文档
README
Fetch the PEN List from IANA and optionally search in it.
Example
header('Content-Type: text/plain'); $Fetcher = new IanaPenListFetcher(); $result = $Fetcher(); echo print_r(count($result), true). " Records found\n"; //This should search and find the SAME entry (by email, id, oid, name, org): echo print_r($Fetcher('till@webfan.de'), true). "\n"; echo print_r($Fetcher(37553), true). "\n"; echo print_r($Fetcher('1.3.6.1.4.1.37553'), true). "\n"; echo print_r($Fetcher('Wehowski'), true). "\n"; echo print_r($Fetcher('frdl'), true). "\n";
Optionally with custom configuration:
$Fetcher->setRoot('1.3.6.1.4.1'); $Fetcher->setUrl('https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers'); $Fetcher->setCachelimit(60 * 60); $Fetcher->setCachefile(__DIR__.\DIRECTORY_SEPARATOR.'penlist.php');
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-28