ali-eltaweel/cpu-info 问题修复 & 功能扩展

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

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

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-07-02