notifications/system-notifications
Composer 安装命令:
composer require notifications/system-notifications
包简介
System Notifications Package
关键字:
README 文档
README
The Database Operations package provides a trait for Laravel models to handle database operations and track user
activity. It automatically populates database columns and simplifies the implementation of user tracking features.
Installation
To install the System Notifications package, follow these steps:
-
Ensure that you have Composer installed on your machine.
-
Open your terminal and navigate to your Laravel project's directory.
-
Run the following command to install the package:
composer require notifications/system-notifications
- Run the following command to publish the config file named "fcm.php":
php artisan vendor:publish --provider="SystemNotifications\SystemNotificationsServiceProvider" --tag=system-notifications-config
- In your Env file add Firebase configuration:
FCM_SERVER_KEY=your_firebase_key FCM_SENDER_ID=your_firebase_sender_id
- After the package is installed, Laravel will automatically discover the package and register its service provider.
Usage
$variable['password'] = "testPassword@123"; $variable['firstname'] = "Arslan Ayoub"; $variable['email'] = "arsalanayoub48@gmail.com"; NotificationHelper::initializeNotification(SEEKER , 252,"NewAccountPassword",$variable);
统计信息
- 总下载量: 5.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-27