santran/browsernotifications

Integrate Browser Notifications to Laravel 5.2 and above.
9,301 2
Install
composer require santran/browsernotifications
PHP:>=5.5.9
License:MIT
Last Updated:Apr 21, 2018
Links: GitHub  ·  Packagist
Maintainer: santran

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

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

617,346,630 9,703
laravel/framework

The Laravel Framework.

561,395,438 34,860
laravel/tinker

Powerful REPL for the Laravel framework.

471,804,685 7,440