vxm / yii2-desktop-notifier
Desktop notifier for Yii2
Installs: 228
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.1
- jolicode/jolinotif: ~2.0
- yiisoft/yii2: >=2.0.13
This package is auto-updated.
Last update: 2024-12-17 06:18:12 UTC
README
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
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'); } }