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

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

nerou/systemd
=============

systemd interface for PHP

v0.1.1(4mo ago)08MITRustPHP &gt;=8.1

Since Mar 19Pushed 3mo agoCompare

[ Source](https://github.com/nerou42/php-ext-systemd)[ Packagist](https://packagist.org/packages/nerou/systemd)[ Docs](https://github.com/nerou42/php-ext-systemd)[ RSS](/packages/nerou-systemd/feed)WikiDiscussions master Synced 4w ago

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

systemd interfacing extension for PHP
=====================================

[](#systemd-interfacing-extension-for-php)

This extension enables interaction with systemd based on [rust-systemd](https://crates.io/crates/systemd).

Current state
-------------

[](#current-state)

In the current version, there are only two functions available:

- `function systemd_notify(bool $unset_environment, string $state, string $value): bool`
- `function systemd_watchdog_enabled(bool $unset_environment): int`

**Those two functions are especially usefull, if you have a PHP based systemd service, which tends to get stuck and needs to be restarted if nothing happens for a certain period of time.**

We plan to expand the range of supported features in future versions. If there are specific features relevant to you, please let me know by creating an [issue](https://github.com/nerou42/php-ext-systemd/issues).

Install
-------

[](#install)

It is recommended to install this extension via PIE:

```
pie install nerou/systemd
```

Usage
-----

[](#usage)

Have a look at the [stubs file](systemd.stubs.php) to see the API.

License
-------

[](#license)

This project is licensed under the [MIT](LICENSE.md).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance78

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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

Total

2

Last Release

141d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28577589?v=4)[cracksalad](/maintainers/cracksalad)[@cracksalad](https://github.com/cracksalad)

---

Top Contributors

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

---

Tags

php-extensionsystemdsystemd-notify

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[prestashop/psgdpr

PrestaShop module psgdpr

327.1M4](/packages/prestashop-psgdpr)[msp/owlcarousel2

1537.6k](/packages/msp-owlcarousel2)[drehimself/laravelgooglemaps

Laravel Google Map package for 5.x. You can use all google map features in laravel.

331.2k](/packages/drehimself-laravelgooglemaps)

PHPackages © 2026

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