php – Laravel护照安装错误

前端之家收集整理的这篇文章主要介绍了php – Laravel护照安装错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚下载了最新的laravel 5.3并且我正在尝试安装护照,但是我收到了以下作曲家错误
Your requirements could not be resolved to an installable set of packages.

      Problem 1
        - laravel/passport v2.0.0 requires illuminate/http ~5.4 -> satisfiable by illuminate/http[v5.4.0].
        - laravel/passport v2.0.1 requires illuminate/http ~5.4 -> satisfiable by illuminate/http[v5.4.0].
        - Conclusion: don't install illuminate/http v5.4.0
        - Installation request for laravel/passport ^2.0 -> satisfiable by laravel/passport[v2.0.0,v2.0.1].


    Installation Failed,reverting ./composer.json to its original content.

Composer .json文件
http://pastebin.com/ne4RkL96

它发生了,因为在发布Laravel 5.4之后,这个软件包也已经更新到v 2.0并且需​​要Laravel 5.4.但是你正在使用Laravel 5.3.尝试安装早期版本:
composer require laravel/passport ^v1

此外,您可以在此处了解此软件包的版本:

Laravel Passport

原文链接:https://www.f2er.com/laravel/137808.html

猜你在找的Laravel相关文章