ali-eltaweel/cpu-info
最新稳定版本:1.0.0
Composer 安装命令:
composer require ali-eltaweel/cpu-info
包简介
CPU Info.
README 文档
README
Installation
Install cpu-info via Composer:
composer require ali-eltaweel/cpu-info
Usage
use CPUInfo\CpuInfo; $cpuinfo = CpuInfo::local(); foreach ($cpuinfo as $processor) { // ... } $firstProcessor = $cpuinfo[0];
Processor Fields
| Field Name | Type |
|---|---|
| vendor | string |
| family | int |
| model | int |
| modelName | string |
| stepping | int |
| microcode | int |
| frequency | float |
| cacheSize | int |
| physicalId | int |
| siblings | int |
| coreId | int |
| cores | int |
| apicId | int |
| initialApicId | int |
| fpu | bool |
| fpuException | bool |
| cpuidLevel | int |
| writeProtect | bool |
| flags | string[] |
| vmxFlags | string[] |
| bugs | string[] |
| bogomips | float |
| clflushSize | int |
| cacheAlignment | int |
| addressSizes | string[] |
| powerManagement | string |
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-07-02