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

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

kingzeus/yii2-system-info
=========================

Information about the server

v1.0.2(11y ago)0351MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

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

[](#systemserver-information-helper)

Base on [abhi1693/yii2-system-info](https://github.com/abhi1693/yii2-system-info)

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

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

[](#supported-os)

- Windows
- Linux
- OSX(Darwin)

Methods
-------

[](#methods)

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

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

[](#installation)

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

```
{
    "require": {
        "kingzeus/yii2-system-info": "1.0.x"
    }
}
```

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

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

Usage
-----

[](#usage)

```
// 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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.3% 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 ~82 days

Total

2

Last Release

4027d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/033736c46cf0dbe49c338daabf186df752b746c01b699bd094b26244f801461f?d=identicon)[kingzeus](/maintainers/kingzeus)

---

Top Contributors

[![abhi1693](https://avatars.githubusercontent.com/u/5083532?v=4)](https://github.com/abhi1693 "abhi1693 (14 commits)")[![kingzeus](https://avatars.githubusercontent.com/u/2177109?v=4)](https://github.com/kingzeus "kingzeus (10 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kingzeus-yii2-system-info/health.svg)](https://phpackages.com/packages/kingzeus-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)
