Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Composer php 编写者:Laravel/passport需要Illumb/auth~5.3.*但锁定到v5.2.45_Composer Php_Lumen_Laravel Passport - Fatal编程技术网

Composer php 编写者:Laravel/passport需要Illumb/auth~5.3.*但锁定到v5.2.45

Composer php 编写者:Laravel/passport需要Illumb/auth~5.3.*但锁定到v5.2.45,composer-php,lumen,laravel-passport,Composer Php,Lumen,Laravel Passport,我正试图通过以下命令添加到我的Lumen项目中composer require dusterio/Lumen passport,但由于我的Lightning/auth版本而被暂停 Problem 1 - Installation request for dusterio/lumen-passport ^0.1.9 -> satisfiable by dusterio/lumen-passport[0.1.9]. - Conclusion: remove illuminate/auth v5

我正试图通过以下命令添加到我的Lumen项目中
composer require dusterio/Lumen passport
,但由于我的
Lightning/auth
版本而被暂停

Problem 1
- Installation request for dusterio/lumen-passport ^0.1.9 -> satisfiable by dusterio/lumen-passport[0.1.9].
- Conclusion: remove illuminate/auth v5.2.45
- Conclusion: don't install illuminate/auth v5.2.45
- dusterio/lumen-passport 0.1.9 requires laravel/passport >=0.2.2 -> satisfiable by laravel/passport[v0.2.2, v0.2.3, v0.2.4, v1.0.0, v1.0.1, v1.0.10, v1.0.11, v1.0.12, v1.0.13, v1.0.14, v1.0.15, v1.0.16, v1.0.17, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9, v2.0.0, v2.0.1, v2.0.2, v2.0.3, v2.0.4].
- laravel/passport v0.2.2 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v0.2.3 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v0.2.4 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.0 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.1 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.10 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.11 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.12 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.13 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.14 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.15 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.16 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.17 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.2 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.3 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.4 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.5 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.6 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.7 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.8 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v1.0.9 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9].
- laravel/passport v2.0.0 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9].
- laravel/passport v2.0.1 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9].
- laravel/passport v2.0.2 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9].
- laravel/passport v2.0.3 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9].
- laravel/passport v2.0.4 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9].
- Can only install one of: illuminate/auth[v5.3.0, v5.2.45].
- Can only install one of: illuminate/auth[v5.3.16, v5.2.45].
- Can only install one of: illuminate/auth[v5.3.23, v5.2.45].
- Can only install one of: illuminate/auth[v5.3.4, v5.2.45].
- Can only install one of: illuminate/auth[v5.4.0, v5.2.45].
- Can only install one of: illuminate/auth[v5.4.9, v5.2.45].
- Installation request for illuminate/auth (locked at v5.2.45) -> satisfiable by illuminate/auth[v5.2.45].
下面是我执行
composer show

doctrine/inflector                v1.1.0  Common String Manipulations with regard to casing and singular/plural ru...
doctrine/instantiator             1.0.5   A small, lightweight utility to instantiate objects in PHP without invok...
fzaninotto/faker                  v1.6.0  Faker is a PHP library that generates fake data for you.
illuminate/auth                   v5.2.45 The Illuminate Auth package.
illuminate/broadcasting           v5.2.45 The Illuminate Broadcasting package.
illuminate/bus                    v5.2.45 The Illuminate Bus package.
illuminate/cache                  v5.2.45 The Illuminate Cache package.
illuminate/config                 v5.2.45 The Illuminate Config package.
illuminate/console                v5.2.45 The Illuminate Console package.
illuminate/container              v5.2.45 The Illuminate Container package.
illuminate/contracts              v5.2.45 The Illuminate Contracts package.
illuminate/database               v5.2.45 The Illuminate Database package.
illuminate/encryption             v5.2.45 The Illuminate Encryption package.
illuminate/events                 v5.2.45 The Illuminate Events package.
illuminate/filesystem             v5.2.45 The Illuminate Filesystem package.
illuminate/hashing                v5.2.45 The Illuminate Hashing package.
illuminate/http                   v5.2.45 The Illuminate Http package.
illuminate/pagination             v5.2.45 The Illuminate Pagination package.
illuminate/pipeline               v5.2.45 The Illuminate Pipeline package.
illuminate/queue                  v5.2.45 The Illuminate Queue package.
illuminate/session                v5.2.45 The Illuminate Session package.
illuminate/support                v5.2.45 The Illuminate Support package.
illuminate/translation            v5.2.45 The Illuminate Translation package.
illuminate/validation             v5.2.45 The Illuminate Validation package.
illuminate/view                   v5.2.45 The Illuminate View package.
laravel/lumen-framework           v5.2.9  The Laravel Lumen Framework.
monolog/monolog                   1.22.0  Sends your logs to files, sockets, inboxes, databases and various web se...
mtdowling/cron-expression         v1.2.0  CRON for PHP: Calculate the next or previous run date and determine if a...
nesbot/carbon                     1.22.1  A simple API extension for DateTime.
nikic/fast-route                  v0.7.0  Fast request router for PHP
paragonie/random_compat           v1.4.1  PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phpdocumentor/reflection-common   1.0     Common reflection classes used by             phpdocumentor to reflect the code stru...
phpdocumentor/reflection-docblock 3.1.1   With this component, a library can provide support for annotations via D...
phpdocumentor/type-resolver       0.2.1
phpspec/prophecy                  v1.6.2  Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage         2.2.4   Library that provides collection,     processing, and rendering functionalit...
phpunit/php-file-iterator         1.4.2   FilterIterator implementation that filters files based on a list of suff...
phpunit/php-text-template         1.2.1   Simple template engine.
phpunit/php-timer                 1.0.8   Utility class for timing
phpunit/php-token-stream          1.4.9   Wrapper around PHP's tokenizer extension.
phpunit/phpunit                   4.8.35  The PHP Unit Testing framework.
phpunit/phpunit-mock-objects      2.3.8   Mock Object library for PHPUnit
psr/log                           1.0.2   Common interface for logging libraries
sebastian/comparator              1.2.4   Provides the functionality to compare PHP values for equality
sebastian/diff                    1.4.1   Diff implementation
sebastian/environment             1.3.8   Provides functionality to handle HHVM/PHP environments
sebastian/exporter                1.2.2   Provides the functionality to export PHP variables for visualization
sebastian/global-state            1.1.1   Snapshotting of global state
sebastian/recursion-context       1.0.2   Provides functionality to recursively process PHP variables
sebastian/version                 1.0.6   Library that helps with managing the version number of Git-hosted PHP pr...
symfony/console                   v3.0.9  Symfony Console Component
symfony/debug                     v3.0.9  Symfony Debug Component
symfony/event-dispatcher          v3.2.4  Symfony EventDispatcher Component
symfony/finder                    v3.0.9  Symfony Finder Component
symfony/http-foundation           v3.0.9  Symfony HttpFoundation Component
symfony/http-kernel               v3.0.9  Symfony HttpKernel Component
symfony/polyfill-mbstring         v1.3.0  Symfony polyfill for the Mbstring extension
symfony/polyfill-php56            v1.3.0  Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-util             v1.3.0  Symfony utilities for portability of PHP codes
symfony/process                   v3.0.9  Symfony Process Component
symfony/translation               v3.0.9  Symfony Translation Component
symfony/yaml                      v3.2.4  Symfony Yaml Component
vlucas/phpdotenv                  v2.4.0  Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SE...
webmozart/assert                  1.2.0   Assertions to validate method input/output with nice error messages.
最后是
composer.json

{
    "name": "laravel/lumen",
    "description": "The Laravel Lumen Framework.",
    "keywords": ["framework", "laravel", "lumen"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=5.5.9",
        "laravel/lumen-framework": "5.2.*",
        "vlucas/phpdotenv": "~2.2"
    },
        "require-dev": {
        "fzaninotto/faker": "~1.4",
        "phpunit/phpunit": "~4.0"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/",
            "database/"
        ]
    }
}
我安装了Lumen的最新版本
v5.4.4
。这似乎是一个
laravel/passport
依赖性问题,而不是
lumen passport
,但是上面的说明提到,
lumen passport
将在途中被抓取


似乎我的
illighted/auth
版本需要更新,但是composer.lock文件将其限制在v5.2.45,因此我不太确定是否对该文件进行任何更改,也不太确定如何继续解决此依赖性问题,以便安装。感谢您的帮助。

您确定您的依赖项是最新的吗?检查您已使用
composer show
安装的版本


lumen passport 0.1.9
要求
laravel/passport>=0.2.2
,这至少要求
照明/auth~5.3
或更高。但是您的
照明/auth
被锁定为
5.2.45
。我建议至少更新
laravel/passport
或进行
composer更新
。更新前请确保您有备份。

谢谢您的帖子。我编辑了我的主要帖子,展示了
composer show
的作品。我还运行了
composer update
,没有更新。我无法通过
lumen passport
安装
laravel/passport
进行更新,因为据我对composer日志的了解,未满足
照明/auth
要求,因此终止。因此,我有点困惑于从这里走到哪里。你不是最新版本的流明
“laravel/lumen框架”:“5.2.*”,
最新稳定的lumen版本是
5.3
确保至少达到最稳定的lumen版本
5.3
5.4
!唉,不知道我怎么会错过。我以为lumen的文件系统来自GitHub,页面上说它是
5.4.4
稳定的,但它是以前的文件系统,我当前的安装来自使用
composer创建项目--首选dist laravel/lumen
。谢谢你的帮助。你能不能也添加你的
composer.json
?啊,当然-添加了。