techendeavors/checkpciid
Composer 安装命令:
composer require techendeavors/checkpciid
包简介
Returns the vendor and device name when supplied with a PCI device ID
README 文档
README
Returns the vendor and device name when supplied with a PCI device ID.
Doesn't have a local database, this pulls data from DNS TXT records using the techendeavors/dnsoverhttps package.
To Do
- [ ] Make it able to be called statically
- [ ] Write Tests
Installation
You can install the package via composer:
composer require techendeavors/checkpciid
Usage
>>> $id = new CheckPCIID;
=> Techendeavors\CheckPCIID\CheckPCIID {#2863}
>>> $results = $id->search('10ec:8168')
=> [
"Vendor" => "Realtek Semiconductor Co., Ltd.",
"Device" => "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller",
]
>>> $results = $id->search('10ec')
=> [
"Vendor" => "Realtek Semiconductor Co., Ltd.",
]
>>> $results = $id->search('10de:1b80')
=> [
"Vendor" => "NVIDIA Corporation",
"Device" => "GP104 [GeForce GTX 1080]",
]
>>> $results = $id->search('8086:591f')
=> [
"Device" => "Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers",
"Vendor" => "Intel Corporation",
]
Testing
Not yet implemented
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please use the issue tracker
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-21