notifications/system-notifications 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Ensure that you have Composer installed on your machine.

  2. Open your terminal and navigate to your Laravel project's directory.

  3. Run the following command to install the package:

composer require notifications/system-notifications
  1. Run the following command to publish the config file named "fcm.php":
php artisan vendor:publish --provider="SystemNotifications\SystemNotificationsServiceProvider" --tag=system-notifications-config
  1. In your Env file add Firebase configuration:
FCM_SERVER_KEY=your_firebase_key
FCM_SENDER_ID=your_firebase_sender_id
  1. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-27