PHPackages                             ali-eltaweel/cpu-info - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ali-eltaweel/cpu-info

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ali-eltaweel/cpu-info
=====================

CPU Info.

1.0.0(10mo ago)00PHPPHP ^8.1

Since Jul 2Pushed 10mo agoCompare

[ Source](https://github.com/ali-eltaweel/cpu-info)[ Packagist](https://packagist.org/packages/ali-eltaweel/cpu-info)[ RSS](/packages/ali-eltaweel-cpu-info/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

CPU Info
========

[](#cpu-info)

- [CPU Info](#cpu-info)
    - [Installation](#installation)
    - [Usage](#usage)
        - [Processor Fields](#processor-fields)

---

Installation
------------

[](#installation)

Install *cpu-info* via Composer:

```
composer require ali-eltaweel/cpu-info
```

Usage
-----

[](#usage)

```
use CPUInfo\CpuInfo;

$cpuinfo = CpuInfo::local();

foreach ($cpuinfo as $processor) {

  // ...
}

$firstProcessor = $cpuinfo[0];
```

### Processor Fields

[](#processor-fields)

Field NameTypevendorstringfamilyintmodelintmodelNamestringsteppingintmicrocodeintfrequencyfloatcacheSizeintphysicalIdintsiblingsintcoreIdintcoresintapicIdintinitialApicIdintfpuboolfpuExceptionboolcpuidLevelintwriteProtectboolflagsstring\[\]vmxFlagsstring\[\]bugsstring\[\]bogomipsfloatclflushSizeintcacheAlignmentintaddressSizesstring\[\]powerManagementstring

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance54

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

312d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7564e10ba11b25d8700726a92f669e38be2ff9191e8f6ccdfafc36678ffab2b8?d=identicon)[ali-eltaweel](/maintainers/ali-eltaweel)

---

Top Contributors

[![ali-eltaweel](https://avatars.githubusercontent.com/u/45892756?v=4)](https://github.com/ali-eltaweel "ali-eltaweel (2 commits)")

### Embed Badge

![Health badge](/badges/ali-eltaweel-cpu-info/health.svg)

```
[![Health](https://phpackages.com/badges/ali-eltaweel-cpu-info/health.svg)](https://phpackages.com/packages/ali-eltaweel-cpu-info)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
