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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nohn/analogmeterreader

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

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

Read analog meters

1.3.0(2mo ago)31.7k1AGPL-3.0-or-laterPHPPHP &gt;=8.3CI passing

Since Feb 19Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)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

51

—

FairBetter than 95% of packages

Maintenance85

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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 ~377 days

Recently: every ~469 days

Total

6

Last Release

75d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.3.0PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/113465?v=4)[Sebastian Nohn](/maintainers/nohn)[@nohn](https://github.com/nohn)

---

Top Contributors

[![nohn](https://avatars.githubusercontent.com/u/113465?v=4)](https://github.com/nohn "nohn (33 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)
```

###  Alternatives

[plin-code/laravel-istat-geography

Laravel package for importing and managing Italian geography data from ISTAT

107.0k](/packages/plin-code-laravel-istat-geography)

PHPackages © 2026

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