【发布时间】:2021-07-06 17:13:33
【问题描述】:
我尝试在 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.
任何建议。
【问题讨论】:
-
brozat/laravel-FCM 只支持到 laravel 6。这个包没有被维护,因此已经被弃用了。
标签: laravel laravel-5 laravel-4