PHP code example of nunomaduro / laravel-desktop-notifier
1. Go to this page and download the library: Download nunomaduro/laravel-desktop-notifier library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nunomaduro / laravel-desktop-notifier example snippets
class ZondaCommand extends Command
{
public function handle()
{
$this->notify('Hello Web Artisan', 'Love beautiful code? We do too!');
}
}
$this->notify('With a logo!', 'This has a logo', resource_path('path/to/icon.png'));