| Package Data | |
|---|---|
| Maintainer Username: | santran |
| Maintainer Contact: | santran686@gmail.com (San Tran) |
| Package Create Date: | 2016-12-13 |
| Package Last Update: | 2018-04-21 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:15:41 |
| Package Statistics | |
|---|---|
| Total Downloads: | 5,388 |
| Monthly Downloads: | 1 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 0 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |

Install via composer
composer require santran/browsernotifications:dev-master
Add Service Provider to config/app.php in providers section
SanTran\BrowserNotifications\BrowserNotificationsProvider::class
Publish config file and view file, open console and enter bellow command:
php artisan vendor:publish
Config file 'browsernotifications.php' : version change
How to use ? Open your layouts file and add js to view.
@include("browsernotifications.browsernotifications")
Call js to show Notification:
$(document).ready(function () {
showNotification(title, content, url, icon);
});