laravel-notification-channels / fcm

Firebase Cloud Messaging (FCM) notifications channel for Laravel
https://laravel-notification-channels.com/
MIT License
495 stars 127 forks source link

Doesnt install on laravel 9 #107

Closed ashwin-nath-m closed 2 years ago

ashwin-nath-m commented 2 years ago

Getting error when i do composer require laravel-notification-channels/fcm

Problem 1
    - google/auth v1.18.0 requires psr/cache ^1.0|^2.0 -> found psr/cache[1.0.0, 1.0.1, 2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - kreait/laravel-firebase[1.3.0, ..., 1.4.0] require illuminate/contracts ^5.8|^6.0 -> found illuminate/contracts[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kreait/laravel-firebase[1.5.0, 2.1.0] require illuminate/contracts ^5.8|^6.0|^7.0 -> found illuminate/contracts[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kreait/laravel-firebase[2.2.0, ..., 2.3.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
    - kreait/laravel-firebase 2.4.0 requires illuminate/contracts ^5.8|^6.0|^7.0|^8.0 -> found illuminate/contracts[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kreait/laravel-firebase[3.0.0, ..., 3.4.0] require illuminate/contracts ^6.0|^7.0|^8.0 -> found illuminate/contracts[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - kreait/laravel-firebase[3.1.0, ..., 3.2.0] require php ^7.2|~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
    - kreait/laravel-firebase 3.x-dev is an alias of kreait/laravel-firebase dev-main and thus requires it to be installed too.
    - kreait/laravel-firebase dev-main requires kreait/firebase-php ^6.0 -> satisfiable by kreait/firebase-php[6.0.0, 6.0.1, 6.1.0, 6.x-dev].
    - laravel-notification-channels/fcm[2.3.0, ..., 2.3.1] require kreait/laravel-firebase ^1.3 || ^2.1 || ^3.0 -> satisfiable by kreait/laravel-firebase[1.3.0, 1.4.0, 1.5.0, 2.1.0, ..., 2.4.0, 3.0.0, ..., 3.x-dev (alias of dev-main)].
    - kreait/firebase-php[6.0.0, ..., 6.x-dev] require google/auth ^1.18 -> satisfiable by google/auth[v1.18.0].
    - Root composer.json requires laravel-notification-channels/fcm ^2.3 -> satisfiable by laravel-notification-channels/fcm[2.3.0, 2.3.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel-notification-channels/fcm:*" to figure out if any version is installable, or "composer require laravel-notification-channels/fcm:^2.1" if you know which you need.
marcroberts commented 2 years ago

This is being resolved in laravel-notification-channels/fcm/pull/98

hoRacy commented 2 years ago

This is being resolved in /pull/98

Thanks. Is there anything known about the predicted merge?

atymic commented 2 years ago

It was merged?