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

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

aethalides/systemd-notify
=========================

Interact with the Systemd Notify daemon for service lifecycle integration

10472[1 PRs](https://github.com/Aethalides/systemd-notify/pulls)PHP

Since Oct 29Pushed 5y agoCompare

[ Source](https://github.com/Aethalides/systemd-notify)[ Packagist](https://packagist.org/packages/aethalides/systemd-notify)[ RSS](/packages/aethalides-systemd-notify/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

systemd-notify
==============

[](#systemd-notify)

Introduction
------------

[](#introduction)

This package allows scripts launched by systemd to send information and heartbeats (watchdog events) to the systemd notification system.

Use this library if...
----------------------

[](#use-this-library-if)

You have a script that is started as a service by systemd, and you want systemd to restart the service when it develops an error, or

You have a long running script and want to provide a status description viewable by the `systemctl status myservice` command.

Do not use this library if...
-----------------------------

[](#do-not-use-this-library-if)

- The system is not run by SystemD (e.g. FreeBSD, Windows, ...)
- Your service is not going to be started by Systemd

In this library
---------------

[](#in-this-library)

Three classes are provided to interact with the notification service:

1. *Notify* is the general purpose implementation.
2. *NotifyHeartbeat* is ideal for applications that only send heartbeats
3. *NotifyFluent* has the same methods as Notify but all the setters are fluent.

Examples
--------

[](#examples)

See the examples folder

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/993266215c89298e1f00e227694104336add62e090600391aaac280a516b9865?d=identicon)[Aethalides](/maintainers/Aethalides)

---

Top Contributors

[![Aethalides](https://avatars.githubusercontent.com/u/5896279?v=4)](https://github.com/Aethalides "Aethalides (6 commits)")[![IAmAndyPieters](https://avatars.githubusercontent.com/u/8500592?v=4)](https://github.com/IAmAndyPieters "IAmAndyPieters (2 commits)")

---

Tags

composer-packagephpphp7servicesystemdsystemd-notifywatchdog

### Embed Badge

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

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

###  Alternatives

[nativephp/php-bin

PHP binaries used by the NativePHP framework

135186.9k3](/packages/nativephp-php-bin)[chrisharrison/php-array-of

Implement an array of a defined type. Generics replacement for PHP.

11722.4k2](/packages/chrisharrison-php-array-of)

PHPackages © 2026

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