PHPackages                             benz3d/yii2-system-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. benz3d/yii2-system-info

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

benz3d/yii2-system-info
=======================

Information about the server

v1.0.1(8y ago)033MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/benz3d/yii2-system-info)[ Packagist](https://packagist.org/packages/benz3d/yii2-system-info)[ RSS](/packages/benz3d-yii2-system-info/feed)WikiDiscussions master Synced 2d ago

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

System/Server Information Helper
--------------------------------

[](#systemserver-information-helper)

Provides information about your system/server. It automatically detects the type of system that you are using and provides you with appropriate information.

Supports
--------

[](#supports)

Any contribution helps us to improve [Yii2 System Info](https://github.com/benz3d/yii2-system-info)

Supported OS
------------

[](#supported-os)

- Windows
- Linux

Methods
-------

[](#methods)

- getOS
- getKernelVersion
- getHostname
- getCpuModel
- getCpuVendor
- getCpuFreq
- getCpuArchitecture
- getCpuCores
- getLoad
- getUpTime
- getPhpVersion
- getServerName
- getServerProtocol
- getServerSoftware
- getTotalMemory

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

[](#installation)

Either run

```
$ php composer.phar require benz3d/yii2-system-info "@dev"
```

Add System-Info to the require section of your **composer.json** file:

```
{
    "require": {
        "benz3d/yii2-system-info": "@dev"
    }
}
```

And run following command to download extension using **composer**:

```
$ php composer.phar update
```

Usage
-----

[](#usage)

```
use benz3d\systemInfo\SystemInfo;

// Get the class to work with the current operating system
$system = SystemInfo::getInfo();

// Captain Obvious was here
$system::getHostname();
```

FAQ
---

[](#faq)

#### `COM` not found

[](#com-not-found)

From `PHP 5.4.5`, `COM` is no longer built into the php core. You have to add `COM` support in `php.ini`:

```
[COM_DOT_NET]
extension=php_com_dotnet.dll
```

Otherwise you will see this in your error log: `Fatal error: Class \'COM\' not found`

Contribution
------------

[](#contribution)

Contributing instructions are located in [CONTRIBUTING.md](CONTRIBUTING.md) file.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.2% 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

Every ~830 days

Total

2

Last Release

3275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d693ad864b154b7044774da2417de1da2812a919b791a781df13befd40af0e79?d=identicon)[benz3d](/maintainers/benz3d)

---

Top Contributors

[![abhi1693](https://avatars.githubusercontent.com/u/5083532?v=4)](https://github.com/abhi1693 "abhi1693 (18 commits)")[![benz3d](https://avatars.githubusercontent.com/u/12830673?v=4)](https://github.com/benz3d "benz3d (7 commits)")[![bubifengyun](https://avatars.githubusercontent.com/u/4437214?v=4)](https://github.com/bubifengyun "bubifengyun (1 commits)")

### Embed Badge

![Health badge](/badges/benz3d-yii2-system-info/health.svg)

```
[![Health](https://phpackages.com/badges/benz3d-yii2-system-info/health.svg)](https://phpackages.com/packages/benz3d-yii2-system-info)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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