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(3mo ago)08MITRustPHP &gt;=8.1

Since Mar 19Pushed 2mo 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 3w 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

34

—

LowBetter than 75% of packages

Maintenance85

Actively maintained with recent releases

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

96d 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

[xethron/laravel-4-generators

Rapidly generate resources, migrations, models, and much more.

962.9M10](/packages/xethron-laravel-4-generators)[creatuity/magento2-interceptors

Creatuity Compiled Interceptors Module

137138.3k1](/packages/creatuity-magento2-interceptors)[humanmade/page-for-post-type

Allows you to set pages for any custom post type archive

18810.2k](/packages/humanmade-page-for-post-type)[echo511/plupload

Plupload component for Nette Framework.

104.4k1](/packages/echo511-plupload)

PHPackages © 2026

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