vxm/yii2-desktop-notifier Desktop notifier for Yii2

Yii2 Desktop Notifier

  1. About it
  2. Requirements
  3. Installation
  4. Usage

Latest Stable Version Total Downloads Build Status Code Coverage Scrutinizer Code Quality Yii2

About it

An extension support send desktop notify base on JoliNotif wrapper for Yii2 console controller. Works on Linux, Windows & MacOS.

Requirements

Installation

Require Yii2 desktop notifier using Composer:

composer require vxm/yii2-desktop-notifier

Usage

demo.png


use yii\console\Controller;

/**
 * @method void desktopNotify(string $title, string $body, $icon = null)
 */
class TestController extends Controller
{
    public function actionTest()
    {
        $this->desktopNotify('VXM', 'test message');
    }
}
1 0
2 followers
224 downloads
Yii Version: 2.0
License: BSD-3-Clause
Category: Console
Developed by: VUONG MINH
Created on: Apr 10, 2019
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions