Yii2 Desktop Notifier ¶
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');
}
}
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.