PHPackages                             mekras/php-systemd - 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. mekras/php-systemd

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

mekras/php-systemd
==================

Object-oriented PHP interface to systemd

v0.1(10y ago)886.4k↓10.5%1[1 issues](https://github.com/mekras/php-systemd/issues)MITPHPPHP &gt;=5.5

Since Apr 18Pushed 10y ago2 watchersCompare

[ Source](https://github.com/mekras/php-systemd)[ Packagist](https://packagist.org/packages/mekras/php-systemd)[ RSS](/packages/mekras-php-systemd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

php-systemd
===========

[](#php-systemd)

Object-oriented interface to systemd.

[![Latest Stable Version](https://camo.githubusercontent.com/8e4d060f1e0a1f1a42a2d5fe61b8e0b56ca8309354d7458421d783b864ae2988/68747470733a2f2f706f7365722e707567782e6f72672f6d656b7261732f7068702d73797374656d642f762f737461626c652e706e67)](https://packagist.org/packages/mekras/php-systemd)[![License](https://camo.githubusercontent.com/ecfeddb3e00ef4a71cb57e04a2c800422f75c8d1447fdb053a23abaebb2ec17d/68747470733a2f2f706f7365722e707567782e6f72672f6d656b7261732f7068702d73797374656d642f6c6963656e73652e706e67)](https://packagist.org/packages/mekras/php-systemd)[![Build Status](https://camo.githubusercontent.com/c7b6b45be9a701ef1bdfede51a6f7df3ed7663bdfcab24e801983c27969ba41f/68747470733a2f2f7472617669732d63692e6f72672f6d656b7261732f7068702d73797374656d642e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/mekras/php-systemd)[![Coverage Status](https://camo.githubusercontent.com/795f05a80ae6bc81aa2ba7903742a7252eb9bd6a6e0f1187921dee11239d47ce/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d656b7261732f7068702d73797374656d642f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/mekras/php-systemd?branch=master)

Watchdog
--------

[](#watchdog)

systemd [watchdog](https://www.freedesktop.org/software/systemd/man/systemd.service.html#WatchdogSec=)restarts frozen service.

```
use Mekras\SystemD\SystemD;

$systemd = new SystemD();
$keepAlive = $systemd->watchdog()->isEnabled();

//...

while (true) {
    if ($keepAlive) {
        $systemd->watchdog()->ping();
    }
    //...
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

3682d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

systemd

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mekras-php-systemd/health.svg)

```
[![Health](https://phpackages.com/badges/mekras-php-systemd/health.svg)](https://phpackages.com/packages/mekras-php-systemd)
```

PHPackages © 2026

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