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

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

abhi1693/yii2-system-info
=========================

Information about the server

v1.0.0(11y ago)337.1k↓33.3%15[1 issues](https://github.com/abhi1693/yii2-system-info/issues)2MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 5y ago7 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (2)

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

[](#systemserver-information-helper)

[![Gratipay User](https://camo.githubusercontent.com/8e3c2cc1ad9dd93c56820fefea9f21aa912c30661bfa682fe6aca2ae990b9366/68747470733a2f2f696d672e736869656c64732e696f2f67726174697061792f757365722f61626869313639332e7376673f7374796c653d666c61742d737175617265)](https://gratipay.com/~abhi1693)[![Dependency Status](https://camo.githubusercontent.com/bda374d664d3f28158775896c824b6fef8729ee5390140fe8b946608d960f01c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534653333376564643165633537336339393030303034322f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/54e337edd1ec573c99000042)[![Code Climate](https://camo.githubusercontent.com/64a691e1cb8f3fc15f8fa405654136fe661cd77bc13e700fea2fa23c39e7710c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f61626869313639332f796969322d73797374656d2d696e666f2f6261646765732f6770612e737667)](https://codeclimate.com/github/abhi1693/yii2-system-info)[![Latest Stable Version](https://camo.githubusercontent.com/e62962ba0b1c865af7a2bb758ddd0b476ca9f809cdacfe0cddbd8a4b067127b3/68747470733a2f2f706f7365722e707567782e6f72672f61626869313639332f796969322d73797374656d2d696e666f2f762f737461626c652e737667)](https://packagist.org/packages/abhi1693/yii2-system-info) [![Total Downloads](https://camo.githubusercontent.com/80e15bf3cf2f746078f6e82b65b86decd0fbcfcc3b7bdc4a5ad29bdc2fe189de/68747470733a2f2f706f7365722e707567782e6f72672f61626869313639332f796969322d73797374656d2d696e666f2f646f776e6c6f6164732e737667)](https://packagist.org/packages/abhi1693/yii2-system-info) [![Latest Unstable Version](https://camo.githubusercontent.com/f696c2b3c56210781cf9d1e41a9bad3f2607b91eace0c01d68a1e4e046ee6376/68747470733a2f2f706f7365722e707567782e6f72672f61626869313639332f796969322d73797374656d2d696e666f2f762f756e737461626c652e737667)](https://packagist.org/packages/abhi1693/yii2-system-info) [![License](https://camo.githubusercontent.com/d0de91c192b4563683e7cebae079f976c8887e1db7438a8018fbfcdddc7c0b8e/68747470733a2f2f706f7365722e707567782e6f72672f61626869313639332f796969322d73797374656d2d696e666f2f6c6963656e73652e737667)](https://packagist.org/packages/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.

DONATE
------

[](#donate)

Any contribution helps us to improve [Yii2 System Info](https://github.com/abhi1693/yii2-system-info), if you want to help us too but don't want to get into coding, we won't say no to PayPal

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4M2CDMWD7W3MS)

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 abhi1693/yii2-system-info "@dev"
```

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

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

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

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

Usage
-----

[](#usage)

```
use abhimanyu\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

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

4104d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[bueltge/wordpress-multisite-enhancements

Enhance Multisite for Network Admins with different topics

1113.6k](/packages/bueltge-wordpress-multisite-enhancements)

PHPackages © 2026

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