PHPackages                             takuya/php-lmsensors-wrapper - 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. takuya/php-lmsensors-wrapper

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

takuya/php-lmsensors-wrapper
============================

cpu temperature to json

00PHP

Since Feb 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/takuya/php-lmsensors-wrapper)[ Packagist](https://packagist.org/packages/takuya/php-lmsensors-wrapper)[ RSS](/packages/takuya-php-lmsensors-wrapper/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

php-lmsensors-wrapper
=====================

[](#php-lmsensors-wrapper)

lm-sensors cpu temperature to json

command result

```
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +33.0°C  (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +34.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +33.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +34.0°C  (high = +105.0°C, crit = +105.0°C)

```

this package will convert result to json

```
[
    {
        "Name": "acpitz-acpi-0",
        "Adapter": " ACPI interface",
        "Temperature": {
            "temp1": "+33.0°C  (crit = +100.0°C)"
        }
    },
    {
        "Name": "coretemp-isa-0000",
        "Adapter": " ISA adapter",
        "Temperature": {
            "Package id 0": "+34.0°C  (high = +105.0°C, crit = +105.0°C)",
            "Core 0": "+33.0°C  (high = +105.0°C, crit = +105.0°C)",
            "Core 2": "+34.0°C  (high = +105.0°C, crit = +105.0°C)"
        }
    }
]
```

Install
-------

[](#install)

via packagist

```
composre require takuya/php-lmsensors-wrapper

```

via git

```
repo=git@github.com:takuya/php-lmsensors-wrapper.git
composer config repositories.takuya/php-lmsensors-wrapper vcs $repo
composer require takuya/php-lmsensors-wrapper

```

Example 01
----------

[](#example-01)

```
$obj = new Sensors();
$obj->execute('ssh 192.168.1.1 -- sensors');
$json = $obj->toJson();
```

Example 02
----------

[](#example-02)

```
$obj = new Sensors();
$ret = `ssh 192.168.1.1 -- sensors`
$obj->setResult($ret);
$json = $obj->toJson();
```

requirements
------------

[](#requirements)

```
sudo apt install lm-sensors

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![takuya](https://avatars.githubusercontent.com/u/55338?v=4)](https://github.com/takuya "takuya (5 commits)")

### Embed Badge

![Health badge](/badges/takuya-php-lmsensors-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/takuya-php-lmsensors-wrapper/health.svg)](https://phpackages.com/packages/takuya-php-lmsensors-wrapper)
```

###  Alternatives

[nativephp/electron

Electron wrapper for the NativePHP framework.

519114.4k8](/packages/nativephp-electron)[abdelhamiderrahmouni/filament-monaco-editor

A monaco editor form field for filamentphp.

18182.2k](/packages/abdelhamiderrahmouni-filament-monaco-editor)[hiqdev/yii2-module-pages

Yii2 Pages Module

121.1k](/packages/hiqdev-yii2-module-pages)

PHPackages © 2026

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