PHPackages                             nohn/analogmeterreader - 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. nohn/analogmeterreader

ActiveLibrary

nohn/analogmeterreader
======================

Read analog meters

1.2.0(5y ago)49291AGPL-3.0-or-laterPHPPHP &gt;=7.4CI failing

Since Feb 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nohn/analogmeterreader)[ Packagist](https://packagist.org/packages/nohn/analogmeterreader)[ RSS](/packages/nohn-analogmeterreader/feed)WikiDiscussions main Synced 1mo ago

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

PHP Analog Meter Reader
=======================

[](#php-analog-meter-reader)

Reads analog meters with PHP. The needles of the analog gauges currently have to be red.

0123456789[![0](tests/resources/images/0/nohn1.png)](tests/resources/images/0/nohn1.png)[![1](tests/resources/images/1/nohn1.png)](tests/resources/images/1/nohn1.png)[![2](tests/resources/images/2/nohn1.png)](tests/resources/images/2/nohn1.png)[![3](tests/resources/images/3/nohn1.png)](tests/resources/images/3/nohn1.png)[![4](tests/resources/images/4/nohn1.png)](tests/resources/images/4/nohn1.png)[![5](tests/resources/images/5/nohn1.png)](tests/resources/images/5/nohn1.png)[![6](tests/resources/images/6/nohn1.png)](tests/resources/images/6/nohn1.png)[![7](tests/resources/images/7/nohn1.png)](tests/resources/images/7/nohn1.png)[![8](tests/resources/images/8/nohn1.png)](tests/resources/images/8/nohn1.png)[![9](tests/resources/images/9/nohn1.png)](tests/resources/images/9/nohn1.png)[![CI](https://github.com/nohn/analogmeterreader/workflows/CI/badge.svg)](https://github.com/nohn/analogmeterreader/workflows/CI/badge.svg) [![Latest Stable Version](https://camo.githubusercontent.com/e6b1d6390aec0d44f6385f019b4af6231526a5f7c30acb0791f597d6efea187f/68747470733a2f2f706f7365722e707567782e6f72672f6e6f686e2f616e616c6f676d657465727265616465722f76)](//packagist.org/packages/nohn/analogmeterreader) [![Total Downloads](https://camo.githubusercontent.com/ff281f633cf70a650b2ee4960b5b586f89152e42a043d29af0514bd0d0e66f23/68747470733a2f2f706f7365722e707567782e6f72672f6e6f686e2f616e616c6f676d657465727265616465722f646f776e6c6f616473)](//packagist.org/packages/nohn/analogmeterreader) [![Latest Unstable Version](https://camo.githubusercontent.com/4a7ca2f484ead312605f42453284276e01b87e5cc15fe5e6be6e75bb211d1d6e/68747470733a2f2f706f7365722e707567782e6f72672f6e6f686e2f616e616c6f676d657465727265616465722f762f756e737461626c65)](//packagist.org/packages/nohn/analogmeterreader) [![License](https://camo.githubusercontent.com/3127b13e220bf0c94c6756e06ca73dba0e2c41ce81a07e3489b6b2785735ac1f/68747470733a2f2f706f7365722e707567782e6f72672f6e6f686e2f616e616c6f676d657465727265616465722f6c6963656e7365)](//packagist.org/packages/nohn/analogmeterreader)

Installation
------------

[](#installation)

```
$ composer require nohn/analogmeterreader

```

Usage
-----

[](#usage)

### Passing an Imagick object

[](#passing-an-imagick-object)

```
use nohn\AnalogMeterReader\AnalogMeter;

$amr = new AnalogMeter($imagick_object, 'r');
echo $amr->getValue();
```

### Passing a file path

[](#passing-a-file-path)

```
use nohn\AnalogMeterReader\AnalogMeter;

$amr = new AnalogMeter($path_to_image_file, 'r');
echo $amr->getValue();
```

### Practical use example

[](#practical-use-example)

See [nohn/watermeter](https://github.com/nohn/watermeter) for a real world use case.

How to contribute
-----------------

[](#how-to-contribute)

You can contribute to this project by:

- Opening an [Issue](https://github.com/nohn/analogmeterreader/issues) if you found a bug or wish to propose a new feature
- Placing a [Pull Request](https://github.com/nohn/analogmeterreader/pulls) with [test Images](tests/resources/images/), bugfixes, new features etc.

License
-------

[](#license)

analogmeterreader is released under the [GNU Affero General Public License](LICENSE).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

1905d ago

### Community

Maintainers

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

---

Top Contributors

[![nohn](https://avatars.githubusercontent.com/u/113465?v=4)](https://github.com/nohn "nohn (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nohn-analogmeterreader/health.svg)

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

PHPackages © 2026

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