Download the PHP package noccylabs/acpi-thermal without Composer
On this page you can find all versions of the php package noccylabs/acpi-thermal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download noccylabs/acpi-thermal
More information about noccylabs/acpi-thermal
Files in noccylabs/acpi-thermal
Download noccylabs/acpi-thermal
More information about noccylabs/acpi-thermal
Files in noccylabs/acpi-thermal
Vendor noccylabs
Package acpi-thermal
Short Description Read thermal temperature values from sysfs
License GPL-3.0
Package acpi-thermal
Short Description Read thermal temperature values from sysfs
License GPL-3.0
Please rate this library. Is it a good library?
Informations about the package acpi-thermal
ACPI Thermal
Read the temperature readings from the ACPI sysfs
Installation
$ composer require noccylabs/acpi-thermal:0.1.*
Usage
You can get a collection of all the available thermal zones using the static
getAllZones()
method:
use NoccyLabs\Thermal;
$zones = Thermal\Zone::getAllZones();
foreach ($zones as $zone) {
printf("%s = %.1fºC\n",
$zone->getName(),
$zone->getTemp()
);
}
You can also create a zone directly and start reading from it (assuming it exists):
$zone = new Thermal\Zone("thermal_zone0");
echo $zone->getTemp();
All versions of acpi-thermal with dependencies
PHP Build Version
Package Version
No informations.
The package noccylabs/acpi-thermal contains the following files
Loading the files please wait ....