Send desktop notifications

Laravel Zero provides a notify method that gives the power of sending desktop notifications from your Artisan commands:

$this->notify("Hello Web Artisan", "Love beautiful..", "icon.png");

The code above will generate the following notification in your desktop:

Get more details at:


On macOS, to use an icon for the notification, you will need to install the terminal-notifier command-line tool.

This can be installed via RubyGems with gem install terminal-notifier, or via Homebrew with brew install terminal-notifier.