PHPackages                             todorowww/dbus-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. todorowww/dbus-notify

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

todorowww/dbus-notify
=====================

D-Bus Notification Library for Derick Rethans D-Bus PHP extension

0.3(8y ago)05MITPHPPHP &gt;=5.5.0

Since Apr 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/todorowww/dbus-notify)[ Packagist](https://packagist.org/packages/todorowww/dbus-notify)[ Docs](https://github.com/todorowww/dbus-notify)[ RSS](/packages/todorowww-dbus-notify/feed)WikiDiscussions master Synced 2w ago

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

[![License](https://camo.githubusercontent.com/1bc839e0549bc3bfe24e54f04ab3aec67536a75213bee45b44cad73e12919d52/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746f646f726f7777772f646275732d6e6f746966792e737667)](https://camo.githubusercontent.com/1bc839e0549bc3bfe24e54f04ab3aec67536a75213bee45b44cad73e12919d52/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746f646f726f7777772f646275732d6e6f746966792e737667)[![Packagist Version](https://camo.githubusercontent.com/0562e11d30ab87d3596f884b152a4d99f3336ce4459632184114bec96dcf9e90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f646f726f7777772f646275732d6e6f746966792e737667)](https://camo.githubusercontent.com/0562e11d30ab87d3596f884b152a4d99f3336ce4459632184114bec96dcf9e90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f646f726f7777772f646275732d6e6f746966792e737667)[![GitHub Release](https://camo.githubusercontent.com/a1609a2aa32e9b1bd463a2a5fea80e3667585c3b4ade63697acb14cc42cb4a8c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f746f646f726f7777772f646275732d6e6f746966792e737667)](https://camo.githubusercontent.com/a1609a2aa32e9b1bd463a2a5fea80e3667585c3b4ade63697acb14cc42cb4a8c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f746f646f726f7777772f646275732d6e6f746966792e737667)

D-Bus Notify
============

[](#d-bus-notify)

This class utilizes PHP extension D-Bus by Derick Rethans. In order to use this class, you need this extension.

You can get it from [nephre](https://github.com/nephre/php-dbus), and you can find compilation instructions there.

Installation
------------

[](#installation)

Install the latest version of this library by issuing this command

```
composer require todorowww/dbus-notify

```

Basic Usage
-----------

[](#basic-usage)

```
use todorowww\DBusNotify;

// Instantiate DBusNotify class
$Notify = new DBusNotify();

$icon = "path/to/your/desired/icon.png";
$summary = "Notification message summary (title)";
$body = "Notification message body";
$Notify->notify($appName, $icon, $summary, $body);

```

Responding to actions
---------------------

[](#responding-to-actions)

```
use todorowww\DBusNotify;

// Instantiate DBusNotify class
$Notify = new DBusNotify();

$icon = "path/to/your/desired/icon.png";
$summary = "Notification message summary (title)";
$body = "Notification message body";
$actions = [
    "ok" => "OK",
    "cancel" => "Cancel"
];
$Notify->notify($appName, $icon, $summary, $body, $actions);
$Notify->waitForAction(myCallback, 30); // Wait for 30 seconds before timing out

```

When user clicks on a button, or closes the notification, myCallback will be triggered. Action info will be passed as a parameter of the function.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~1 days

Total

2

Last Release

2984d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4169512?v=4)[Slobodan Todorov](/maintainers/todorowww)[@todorowww](https://github.com/todorowww)

---

Top Contributors

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

---

Tags

notifydbusd-busphp-dbus

### Embed Badge

![Health badge](/badges/todorowww-dbus-notify/health.svg)

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

###  Alternatives

[easyrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

61631.9M44](/packages/easyrdf-easyrdf)[jolicode/jolitypo

Microtypography fixer for the web.

3481.1M5](/packages/jolicode-jolitypo)[sweetrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

261.4M12](/packages/sweetrdf-easyrdf)

PHPackages © 2026

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