Skip to content

About compatibility with kreait/firebase-php #117

@zoghal

Description

@zoghal

Hi,
When I want to use the kreait/firebase-php package alongside the cakedc/cakephp-api package, I encounter a problem because the cakedc/cakephp-api package uses a restricted version of the lcobucci/jwt package.

composer require "kreait/firebase-php:^7.0" --with-all-dependencies --ignore-platform-reqs
./composer.json has been updated
Running composer update kreait/firebase-php --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires cakedc/cakephp-api 10.. -> satisfiable by cakedc/cakephp-api[10.0.0].
- Root composer.json requires kreait/firebase-php ^7.0 -> satisfiable by kreait/firebase-php[7.0.0, ..., 7.18.0].
- cakedc/cakephp-api 10.0.0 requires lcobucci/jwt ~4.0.0 -> satisfiable by lcobucci/jwt[4.0.0, ..., 4.0.4].
- kreait/firebase-php[7.0.0, ..., 7.0.3] require lcobucci/jwt ^4.2.1 -> satisfiable by lcobucci/jwt[4.2.1, 4.3.0].
- kreait/firebase-php[7.1.0, ..., 7.16.0] require lcobucci/jwt ^4.3.0|^5.0 -> satisfiable by lcobucci/jwt[4.3.0, 5.0.0, ..., 5.5.0].
- kreait/firebase-php[7.16.1, ..., 7.18.0] require lcobucci/jwt ^4.3|^5.3 -> satisfiable by lcobucci/jwt[4.3.0, 5.3.0, ..., 5.5.0].
- You can only install one version of a package, so only one of these can be installed: lcobucci/jwt[4.0.0, ..., 4.3.0, 5.0.0, ..., 5.5.0].

Is there a specific reason for this limitation?
Is it possible to upgrade the lcobucci/jwt package to a higher version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions