michael-bouvy/monolog-desktop-extensions

Monolog extensions (handlers / formatters) for desktop notifications (notify-send, Growl ...).

0.1.0 2016-04-29 07:47 UTC

This package is auto-updated.

Last update: 2024-11-11 04:06:42 UTC


README

Desktop notifications extensions (handlers / formatters) : notify-send (Linux) and Growl (Mac OS) for Monolog PHP library.

These handlers are heavily inspired by Fabien Potencier's Sismo application's notifiers.

Usage

See examples/linux-notification.php.

Handlers

####NotifySend

Uses Linux's libnotify, check you have libnotify-bin installed locally.

####Growl

To come.

Install

####Via composer

Just require the library in your composer.json :

{
    "require": {
        "michael-bouvy/monolog-desktop-extensions": "dev-master"
    }
}