Awesome Open Source
Awesome Open Source

StyleCI Status Build Status Quality Score Latest Version License

About Laravel Desktop Notifier

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.

Installation

Requires PHP 7.2.5+

Require Laravel Desktop Notifier using Composer:

composer require nunomaduro/laravel-desktop-notifier

Usage

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.

Contributing

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

Support the development

Do you like this project? Support it by donating

License

Laravel Desktop Notifier is an open-sourced software licensed under the MIT license.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (15,953
laravel (1,577
command-line (508
notifications (286
console (244
script (176
commands (28
notifier (21

Find Open Source By Browsing 7,000 Topics Across 59 Categories