Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

proplem with brozat/laravel-FCM on laravel 8

i tried to install brozat/laravel-FCM on laravel 8

i got this error on 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.

any suggestions.

like image 626
ahmed samy Avatar asked Oct 23 '25 20:10

ahmed samy


1 Answers

Try this package https://github.com/code-lts/Laravel-FCM It is forked from brozat/laravel-FCM and it support's the Laravel 8.

like image 165
Muhammad Yasir Avatar answered Oct 25 '25 18:10

Muhammad Yasir