nunomaduro / laravel-desktop-notifier
Send notifications to your desktop from your Laravel commands. An JoliNotif wrapper for Laravel 5.
Installs: 733 358
Dependents: 10
Suggesters: 0
Security: 0
Stars: 417
Watchers: 16
Forks: 34
Open Issues: 6
Requires
- php: ^8.1
- illuminate/console: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
- jolicode/jolinotif: ^2.5
Requires (Dev)
- graham-campbell/testbench: ^5.7
- phpunit/phpunit: ^9.5
- dev-stable
- v2.7.0
- v2.6.0
- v2.5.1
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- dev-analysis-qvYmjV
- dev-analysis-Xljy1W
- dev-analysis-XlglVW
- dev-analysis-zErywO
- dev-analysis-XlY4xJ
- dev-analysis-8Qpwrm
- dev-master
This package is auto-updated.
Last update: 2023-09-11 16:54:24 UTC
README
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.