PHPackages                             yii-starter-kit/yii2-probe - 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. yii-starter-kit/yii2-probe

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

yii-starter-kit/yii2-probe
==========================

System information provider

2.0.0(1w ago)01MITPHPPHP ^8.4CI passing

Since Mar 9Pushed 1w agoCompare

[ Source](https://github.com/yii-starter-kit/yii2-probe)[ Packagist](https://packagist.org/packages/yii-starter-kit/yii2-probe)[ RSS](/packages/yii-starter-kit-yii2-probe/feed)WikiDiscussions master Synced today

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

System Information Provider
===========================

[](#system-information-provider)

[![CI](https://github.com/yii-starter-kit/yii2-probe/actions/workflows/ci.yml/badge.svg)](https://github.com/yii-starter-kit/yii2-probe/actions/workflows/ci.yml)

Requires **PHP 8.4+**.

This package provides an easy interface to get information about the system it is running on.

```
$provider = \YiiStarterKit\Probe\ProviderFactory::create();
$provider->getCpuModel();
$provider->getCpuUsage();
$provider->getFreeMem();
```

Available methods
-----------------

[](#available-methods)

- getOsRelease()
- getOsType()
- getOsKernelVersion()
- getArchitecture()
- getDbVersion(\\PDO $connection)
- getDbInfo(\\PDO $connection)
- getDbType(\\PDO $connection)
- getTotalMem()
- getFreeMem()
- getUsedMem()
- getTotalSwap()
- getFreeSwap()
- getUsedSwap()
- getHostname()
- isLinuxOs()
- isWindowsOs()
- isBsdOs()
- isMacOs()
- getUptime()
- getPhysicalCpus()
- getCpuCores()
- getCpuPhysicalCores()
- getCpuModel()
- getCpuUsage()
- getServerIP()
- getExternalIP()
- getServerSoftware()
- isISS()
- isNginx()
- isApache()
- getPhpInfo($what = -1)
- getPhpVersion()
- getPhpDisabledFunctions()
- getPhpModules()
- isPhpModuleLoaded($module)
- getPing(?array $hosts = null, $count = 2)
- getServerVariable($key)
- getPhpSapiName()
- isFpm()
- isCli()

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

[](#supported-os)

- Linux
- Windows
- MacOS

**Note**: To get Windows System Information, you must have `php_com_dotnet.dll` enabled in your `php.ini`.

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

Linux Specific methods
----------------------

[](#linux-specific-methods)

- getCoresPerSocket()
- getCpuinfoByLsCpu()

Contributing
------------

[](#contributing)

Any help in any way is welcome.

TODO
----

[](#todo)

- disk usage
- rx/tx
- processes list

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance98

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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

12d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fd1ace71516f0450becfde434768c796da0e314b6a20ed4900ff3ee0f1cc081?d=identicon)[XzAeRo](/maintainers/XzAeRo)

---

Top Contributors

[![rotexdegba](https://avatars.githubusercontent.com/u/1242622?v=4)](https://github.com/rotexdegba "rotexdegba (4 commits)")[![imamerkhanov](https://avatars.githubusercontent.com/u/655416?v=4)](https://github.com/imamerkhanov "imamerkhanov (4 commits)")[![TechKat](https://avatars.githubusercontent.com/u/6548963?v=4)](https://github.com/TechKat "TechKat (3 commits)")[![XzAeRo](https://avatars.githubusercontent.com/u/1656037?v=4)](https://github.com/XzAeRo "XzAeRo (2 commits)")[![trntv](https://avatars.githubusercontent.com/u/1162056?v=4)](https://github.com/trntv "trntv (2 commits)")[![aiddroid](https://avatars.githubusercontent.com/u/3241146?v=4)](https://github.com/aiddroid "aiddroid (2 commits)")[![ivanfilatov](https://avatars.githubusercontent.com/u/10758036?v=4)](https://github.com/ivanfilatov "ivanfilatov (1 commits)")[![bepsvpt](https://avatars.githubusercontent.com/u/8221099?v=4)](https://github.com/bepsvpt "bepsvpt (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yii-starter-kit-yii2-probe/health.svg)

```
[![Health](https://phpackages.com/badges/yii-starter-kit-yii2-probe/health.svg)](https://phpackages.com/packages/yii-starter-kit-yii2-probe)
```

###  Alternatives

[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2691.4M5](/packages/rubix-tensor)[kartik-v/yii2-editable

An enhanced editable widget for Yii 2.0 that allows easy editing of displayed data with numerous configuration possibilities.

1183.2M58](/packages/kartik-v-yii2-editable)[larapack/dd

`dd` is a helper method in Laravel. This package will add the `dd` to your application.

1252.5M377](/packages/larapack-dd)[geo-io/interface

Geo I/O base interfaces.

626.0M7](/packages/geo-io-interface)[nfephp-org/sped-common

sped-common é parte do projeto NFePHP.

1061.6M59](/packages/nfephp-org-sped-common)[kartik-v/yii2-widget-spinner

A widget to render animated CSS3 loading spinners with VML fallback for IE (sub repo split from yii2-widgets)

293.9M3](/packages/kartik-v-yii2-widget-spinner)

PHPackages © 2026

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