PHPackages                             trntv/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. trntv/probe

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

trntv/probe
===========

System information provider

1.0.1(8y ago)33652.4k↓23.7%195MITPHPCI failing

Since Mar 3Pushed 6y ago8 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (7)Used By (5)

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

[](#system-information-provider)

[![Build Status](https://camo.githubusercontent.com/7c9f96cba1662e2a060470f67ba73e107f9372f0be842a8d1908e980c43a4750/68747470733a2f2f7472617669732d63692e6f72672f74726e74762f70726f62652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/trntv/probe)

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

```
$provider = \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();
- getCpuPhysicalCore();
- 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 hould 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)

I don't have any special rules for it. Any help in any way will be useful.

TODO
----

[](#todo)

- disk usage
- rx/tx
- processes list

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~231 days

Recently: every ~273 days

Total

6

Last Release

2936d ago

Major Versions

0.2.2 → 1.0.02017-02-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a67acd28d366ff328006f3e62c314993301a3742af6dbf0da18693cda04c9c6?d=identicon)[trntv](/maintainers/trntv)

---

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)")[![aiddroid](https://avatars.githubusercontent.com/u/3241146?v=4)](https://github.com/aiddroid "aiddroid (2 commits)")[![trntv](https://avatars.githubusercontent.com/u/1162056?v=4)](https://github.com/trntv "trntv (2 commits)")[![bepsvpt](https://avatars.githubusercontent.com/u/8221099?v=4)](https://github.com/bepsvpt "bepsvpt (1 commits)")[![typomedia](https://avatars.githubusercontent.com/u/5276515?v=4)](https://github.com/typomedia "typomedia (1 commits)")[![ivanfilatov](https://avatars.githubusercontent.com/u/10758036?v=4)](https://github.com/ivanfilatov "ivanfilatov (1 commits)")

---

Tags

os-infophp-libraryphp7system-information

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/trntv-probe/health.svg)

```
[![Health](https://phpackages.com/badges/trntv-probe/health.svg)](https://phpackages.com/packages/trntv-probe)
```

###  Alternatives

[brinley/jsignature

Signature For Javascript

69930.4k1](/packages/brinley-jsignature)[laravel-admin-ext/chartjs

Use Chartjs in laravel-admin

102180.6k1](/packages/laravel-admin-ext-chartjs)[gregoriohc/laravel-nova-theme-classify

A Laravel Nova theme helper.

1747.7k](/packages/gregoriohc-laravel-nova-theme-classify)

PHPackages © 2026

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