laravel - 在 laravel 8 上使用 brozat/laravel-FCM 的问题
问题描述
我试图在 laravel 8 上安装 brozat/laravel-FCM
我在cmd上收到此错误:
C:\xampp\htdocs\notifications>composer require brozot/laravel-fcm
Using version ^1.3 for brozot/laravel-fcm
./composer.json has been updated
Running composer update brozot/laravel-fcm
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- brozot/laravel-fcm[1.3.0, ..., 1.3.1] require illuminate/support 5.*|^6 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded
, likely because it conflicts with another require.
- Root composer.json requires brozot/laravel-fcm ^1.3 -> satisfiable by brozot/laravel-fcm[1.3.0, 1.3.1].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
有什么建议么。
解决方案
试试这个包https://github.com/code-lts/Laravel-FCM它是从brozat/laravel-FCM分叉的,它支持Laravel 8。
推荐阅读
- javascript - (谷歌图表)如何使堆积柱形图与小时、分钟和秒一起工作?
- javascript - Puppeteer 浏览器引用列表
- python - Python pandas 从 pandas 数据帧索引中删除每一天的第一分钟
- python - 名称:“碳水化合物”未定义
- python - 我对 tkinter 中的 .coords 有疑问
- javascript - 承诺关闭的 NodeJS UnhandledPromiseRejectionWarning
- pyspark - PySpark UDF 不返回预期结果
- python - 如何在烧瓶中以二进制格式获取http“GET”参数?
- r - R在长格式数据中查找没有重复的记录
- python - 如何在 DIPY 中跟踪不同的流线?