Send notifications to your desktop from your Laravel commands. An JoliNotif wrapper for Laravel 5.
nunomaduro/laravel-desktop-notifier is a Laravel package for send notifications to your desktop from your laravel commands. an jolinotif wrapper for laravel 5..
It currently has 479 GitHub stars and 1.902.585 downloads on Packagist (latest version v2.10.0).
Install it with composer require nunomaduro/laravel-desktop-notifier.
Discover more Laravel packages by nunomaduro
or browse all Laravel packages to compare alternatives.
Last updated
Laravel Desktop Notifier was created by, and is maintained by Nuno Maduro, and is a JoliNotif wrapper for Laravel Console Commands. Works on Linux, Windows & MacOS.
Requires PHP 8.1+
Require Laravel Desktop Notifier using Composer:
composer require nunomaduro/laravel-desktop-notifier
Once installed, the notify() method macro will be available in any of your Artisan commands.
class ZondaCommand extends Command
{
public function handle()
{
$this->notify('Hello Web Artisan', 'Love beautiful code? We do too!');
}
}
You can add an icon to the notification by passing a 3rd argument with the path to the icon:
$this->notify('With a logo!', 'This has a logo', resource_path('path/to/icon.png'));
To learn more about Artisan commands, see the Laravel documentation.
Thank you for considering to contribute to Laravel Desktop Notifier. All the contribution guidelines are mentioned here.
You can have a look at the CHANGELOG for constant updates & detailed information about the changes. You can also follow the twitter account for latest announcements or just come say hi!: @enunomaduro
Do you like this project? Support it by donating
Laravel Desktop Notifier is an open-sourced software licensed under the MIT license.