santran/browsernotifications
Composer 安装命令:
composer require santran/browsernotifications
包简介
Integrate Browser Notifications to Laravel 5.2 and above.
README 文档
README
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); });
统计信息
- 总下载量: 5.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-13
