Lumen-framework: illuminate/redis version issue

Created on 14 Oct 2017  路  3Comments  路  Source: laravel/lumen-framework

  • Lumen Version: 5.5.*
  • PHP Version: 7.*
  • Database Driver & Version:

Description:

Lumen 5.5 Official doc refers to install illuminate/redis: 5.4.* and predis/predis: ~1.0 but doing so produces this error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/lumen-framework v5.5.1
    - Conclusion: remove illuminate/support v5.5.2
    - Conclusion: don't install laravel/lumen-framework v5.5.1
    - Conclusion: don't install laravel/lumen-framework v5.5.0
    - Conclusion: don't install laravel/lumen-framework 5.5.x-dev
    - Installation request for laravel/lumen-framework 5.5.* -> satisfiable by laravel/lumen-framework[5.5.x-dev, v5.5.0, v5.5.1].
    - Conclusion: don't install illuminate/support v5.5.2
    - illuminate/redis 5.4.x-dev requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.0 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.13 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.17 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.19 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.27 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.36 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/redis v5.4.9 requires illuminate/support 5.4.* -> satisfiable by illuminate/support[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - Can only install one of: illuminate/support[5.5.x-dev, 5.4.x-dev].
    - Can only install one of: illuminate/support[v5.4.0, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.13, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.17, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.19, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.27, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.36, 5.5.x-dev].
    - Can only install one of: illuminate/support[v5.4.9, 5.5.x-dev].
    - laravel/lumen-framework 5.5.x-dev requires illuminate/support 5.5.* -> satisfiable by illuminate/support[v5.5.2, 5.5.x-dev, v5.5.0].
    - Conclusion: don't install illuminate/support v5.5.0
    - Installation request for illuminate/redis 5.4.* -> satisfiable by illuminate/redis[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].

Steps To Reproduce:

set composer.json:

"predis/predis": "~1.0",
"illuminate/redis": "5.4.*"

run: composer update

Fix

set composer.json:

"predis/predis": "~1.0",
"illuminate/redis": "5.5.*"

run: composer update

Most helpful comment

"illuminate/redis": should be inline with your Lumen framework version.
For example if you are using Lumen 5.7.* than you would need the "illuminate/redis": "5.7.*"

Hope it helps!

All 3 comments

@akkhan20 Did you solve this? How?

"illuminate/redis": should be inline with your Lumen framework version.
For example if you are using Lumen 5.7.* than you would need the "illuminate/redis": "5.7.*"

Hope it helps!

"illuminate/redis": should be inline with your Lumen framework version.
__For example if you are using Lumen 5.7._ than you would need the "illuminate/redis": "5.7."_

Hope it helps!

It works for me.. ;)
Thank you so much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

concept47 picture concept47  路  3Comments

rtheunissen picture rtheunissen  路  3Comments

jairobjunior picture jairobjunior  路  4Comments

dunice picture dunice  路  3Comments

GGNB picture GGNB  路  5Comments