Skip to content

Integrate Web Browser Notifications to Laravel 5.2 and above.

License

Notifications You must be signed in to change notification settings

mrsantran/browsernotifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5 Browser Notifications

Total Downloads Paypal Donate

screen shot 2016-12-14 at 14 07 33

Install (Laravel)

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);
});

About

Integrate Web Browser Notifications to Laravel 5.2 and above.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published