PHPackages                             lukshio/ds18b20-multibus - 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. lukshio/ds18b20-multibus

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

lukshio/ds18b20-multibus
========================

The DS18B20 Sensor Multibus Handling PHP Package

02PHP

Since Aug 1Pushed 1y agoCompare

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

READMEChangelog (1)DependenciesVersions (1)Used By (0)

A Simple DS18B20 Sensor Handling PHP Package
============================================

[](#a-simple-ds18b20-sensor-handling-php-package)

This package can be used to read the popular DS18B20 Sensor data from multiple sensors on a Raspberry PI.

Tested on Raspibian OS.

Note: Previously the Raspibian needs to be configured to handle the sensor.

Example usage (See *tests* folder)
----------------------------------

[](#example-usage-see-tests-folder)

### Read the raw data:

[](#read-the-raw-data)

```
use azolee\DS18B20;

$respone =  DS18B20::loadSensors();

var_dump($respone);
```

### Read the raw data and process it:

[](#read-the-raw-data-and-process-it)

```
use azolee\DS18B20;
use azolee\DataFormat\{CelsiusDataProcessor, FahrenheitDataProcessor};

//in Celsius
$celsiusDataProcessor = new CelsiusDataProcessor();
$celsiusDataProcessor->setPrecision(3);

$respone =  DS18B20::loadSensors($celsiusDataProcessor);

var_dump($respone);

// in Fahrenheit
$fahrenheitDataProcessor = new FahrenheitDataProcessor();
$fahrenheitDataProcessor->setPrecision(0);

DS18B20::setProcessor($fahrenheitDataProcessor);

$respone =  DS18B20::loadSensors();

var_dump($respone);
```

License: **MIT**

Author: **ANDRAS Zoltan Gyarfas**

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/ac7f05c4ac07c2ab0407c151edff87b6eeec8e9bc301d6cab0e955df18f93729?d=identicon)[Lukshio](/maintainers/Lukshio)

---

Top Contributors

[![azolee](https://avatars.githubusercontent.com/u/835466?v=4)](https://github.com/azolee "azolee (4 commits)")[![Lukshio](https://avatars.githubusercontent.com/u/43586353?v=4)](https://github.com/Lukshio "Lukshio (3 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

### Embed Badge

![Health badge](/badges/lukshio-ds18b20-multibus/health.svg)

```
[![Health](https://phpackages.com/badges/lukshio-ds18b20-multibus/health.svg)](https://phpackages.com/packages/lukshio-ds18b20-multibus)
```

PHPackages © 2026

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