定制 meunee/lara-fcm 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

meunee/lara-fcm

最新稳定版本:v1.0.2

Composer 安装命令:

composer require meunee/lara-fcm

包简介

Laravel fcm api http v1 package

README 文档

README

Installation

Install this package with Composer:

composer require meunee/lara-fcm

Laravel

Register the provider directly in your app configuration file config/app.php config/app.php:

Laravel >= 5.5 provides package auto-discovery

'providers' => [
	// ...

	Meunee\LaraFcm\FCMServiceProvider::class,
]

Add the facade aliases in the same file:

'aliases' => [
	...
	'FCM'      => Meunee\LaraFcm\Facades\FCM::class,
	'FCMGroup' => Meunee\LaraFcm\Facades\FCMGroup::class, // Deprecated
]

Note: The FCMGroup facade is deprecated.

Publish the package config file using the following command:

$ php artisan vendor:publish --provider="Meunee\LaraFcm\FCMServiceProvider"

Package Configuration

In your .env file, add the server key and the secret key for the Firebase Cloud Messaging:

FCM_PROJECT_ID="my_project_id"
FCM_JSON="path_to_json_file"
FCM_API_SERVER_KEY="my_api_server_key"

统计信息

  • 总下载量: 39
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-24