As a part of Laravel 5.7 setup, I am trying to install Passport using the command:
composer require laravel/passport
But it doesn't work and gives the error:
Using version ^8.0 for laravel/passport
./composer.json has been updated
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v5.7.15
- Conclusion: don't install laravel/framework v5.7.15
- laravel/passport 8.x-dev requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[6.x-dev], illuminate/support[6.x-dev, 7.0.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0].
- laravel/passport v8.0.0 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[6.x-dev], illuminate/support[6.x-dev, 7.0.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0].
- laravel/passport v8.0.1 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[6.x-dev], illuminate/support[6.x-dev, 7.0.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0].
- laravel/passport v8.0.2 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[6.x-dev], illuminate/support[6.x-dev, 7.0.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0].
- Can only install one of: laravel/framework[6.x-dev, v5.7.15].
- don't install illuminate/support 6.x-dev|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.0.0|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.0.1|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.0.2|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.0.3|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.0.4|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.1.0|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.2.0|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.3.0|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.4.1|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.5.0|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.5.1|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.5.2|don't install laravel/framework v5.7.15
- don't install illuminate/support v6.6.0|don't install laravel/framework v5.7.15
- don't install illuminate/support 7.0.x-dev|don't install laravel/framework v5.7.15
- Installation request for laravel/framework (locked at v5.7.15, required as 5.7.*) -> satisfiable by laravel/framework[v5.7.15].
- Installation request for laravel/passport ^8.0 -> satisfiable by laravel/passport[8.x-dev, v8.0.0, v8.0.1, v8.0.2].
Installation failed, reverting ./composer.json to its original content.
It looks like the Passport version 8.0 is not compatible with the Version 5.7.15 of Laravel, which version is compatible here?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire