PHPackages                             pfitzer/pegelonline - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. pfitzer/pegelonline

ActiveLibrary[HTTP &amp; Networking](/categories/http)

pfitzer/pegelonline
===================

Library to use REST data from www.pegelonline.wsv.de

0.3(9y ago)07MITPHPPHP &gt;=5.6.0

Since Nov 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pfitzer/Pegelonline)[ Packagist](https://packagist.org/packages/pfitzer/pegelonline)[ RSS](/packages/pfitzer-pegelonline/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/ad30efac3c7760bb02fbc001dc63637b14a84942aca100f350b4c9439be2ad81/68747470733a2f2f7472617669732d63692e6f72672f706669747a65722f506567656c6f6e6c696e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pfitzer/Pegelonline) [![codecov](https://camo.githubusercontent.com/333f4ec52f85766398895a7a101ab163df1a7db34efe8d918fd32271120cea2c/68747470733a2f2f636f6465636f762e696f2f67682f706669747a65722f506567656c6f6e6c696e652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pfitzer/Pegelonline)

\##PHP Class to use Pegelonline Rest-Api For more information see [pegelonline.wsv.de](https://www.pegelonline.wsv.de)

install
-------

[](#install)

composer require pfitzer/pegelonline

```
"require": {
    "pfitzer/pegelonline": "*"
}

```

usage
-----

[](#usage)

```
$pgOnline = new Pegelonline();

# get all waters with stations
try {
    $result = $pgOnline->getWaters(true);
} catch (\InvalidArgumentException $e) {
    # do something
}

```

contribute
----------

[](#contribute)

feel free to do so

git clone

#### install dev dependencies

[](#install-dev-dependencies)

```
composer install

```

#### run unit tests

[](#run-unit-tests)

```
phpunit --configuration phpunit.xml

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

3512d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1109410?v=4)[Michael Pfister](/maintainers/pfitzer)[@pfitzer](https://github.com/pfitzer)

---

Top Contributors

[![pfitzer](https://avatars.githubusercontent.com/u/1109410?v=4)](https://github.com/pfitzer "pfitzer (1 commits)")

---

Tags

apirestPegelonlineWSV

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pfitzer-pegelonline/health.svg)

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

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.5M274](/packages/nategood-httpful)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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