PHPackages                             photogabble/php-rrd-tool - 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. photogabble/php-rrd-tool

ActiveLibrary

photogabble/php-rrd-tool
========================

RRDTool Helper methods

1.0.0(7y ago)025MITPHPPHP &gt;=7.1.0

Since Aug 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/photogabble/php-rrd-tool)[ Packagist](https://packagist.org/packages/photogabble/php-rrd-tool)[ RSS](/packages/photogabble-php-rrd-tool/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP RRDTool Helpers
===================

[](#php-rrdtool-helpers)

*Ease the creation and updating of rrdtools files*

 [![Latest Stable Version](https://camo.githubusercontent.com/bbf9d07413c2dcb85de132aad5828d426c0baadf7d0767f1c78d949216693a06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70686f746f676162626c652f7068702d7272642d746f6f6c2e737667)](https://packagist.org/packages/photogabble/php-rrd-tool) [![License](https://camo.githubusercontent.com/503a2c6da8380d0d62b100379df2058a5fbc4745535ee75f892017e66ed3bc72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70686f746f676162626c652f7068702d636f6e66757361626c652d686f6d6f676c797068732e737667)](LICENSE)

About this package
------------------

[](#about-this-package)

I wrote this library to help my understanding of how RRDTool commands work. It acts as a class based container that can easily be configured and then cast to a string to return the command line input.

It currently only contains a class representation of [rrdcreate](https://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html).

I am aware of the [php-rrd](http://php.net/manual/en/book.rrd.php) extension and do use it in other contexts. However this library may be useful on systems where that extension isn't available but RRDTools is.

Install
-------

[](#install)

Install this library with composer: `composer require photogabble/php-rrd-tool`.

Usage
-----

[](#usage)

Please see the [tests](https://github.com/photogabble/php-rrd-tool/tree/master/tests) for detailed example of usage.

Todo
----

[](#todo)

- Add class representation of [rrdupdate](https://oss.oetiker.ch/rrdtool/doc/rrdupdate.en.html)
- Add class representation of [rrddump](https://oss.oetiker.ch/rrdtool/doc/rrddump.en.html)
- Add class representation of [rrdfetch](https://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html)
- Add class representation of [rrdfirst](https://oss.oetiker.ch/rrdtool/doc/rrdfirst.en.html)
- Add class representation of [rrdgraph](https://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html)
- Add class representation of [rrdinfo](https://oss.oetiker.ch/rrdtool/doc/rrdinfo.en.html)
- Add class representation of [rrdlast](https://oss.oetiker.ch/rrdtool/doc/rrdlast.en.html)
- Add class representation of [rrdlastupdate](https://oss.oetiker.ch/rrdtool/doc/rrdlastupdate.en.html)
- Add class representation of [rrdresize](https://oss.oetiker.ch/rrdtool/doc/rrdresize.en.html)
- Add class representation of [rrdrestore](https://oss.oetiker.ch/rrdtool/doc/rrdrestore.en.html)
- Add class representation of [rrdtune](https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html)
- Add class representation of [rrdxport](https://oss.oetiker.ch/rrdtool/doc/rrdxport.en.html)
- Add missing specialized functions `HWPREDICT`, `MHWPREDICT`, etc

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2822d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32e6199648ca613ea8451f73c0b13977c35f98cfc0f369316ba7e10eb9c5e9c8?d=identicon)[carbontwelve](/maintainers/carbontwelve)

---

Top Contributors

[![carbontwelve](https://avatars.githubusercontent.com/u/464699?v=4)](https://github.com/carbontwelve "carbontwelve (8 commits)")

---

Tags

rrdtoolwiprrdtool

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/photogabble-php-rrd-tool/health.svg)

```
[![Health](https://phpackages.com/badges/photogabble-php-rrd-tool/health.svg)](https://phpackages.com/packages/photogabble-php-rrd-tool)
```

PHPackages © 2026

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