Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Desktop Notifier Laravel Package

nunomaduro/laravel-desktop-notifier

Desktop notifications for Laravel Artisan commands via a JoliNotif wrapper. Adds a notify() macro to your console commands to send messages (with optional icon) on Linux, Windows, and macOS. Requires PHP 8.1+.

View on GitHub
Deep Wiki
Context7

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 8.1+

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk