Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/355.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
Symfony api平台安装问题_Api_Symfony_Composer Php - Fatal编程技术网

Symfony api平台安装问题

Symfony api平台安装问题,api,symfony,composer-php,Api,Symfony,Composer Php,使用Symfony 4.4和composer构建应用程序在我的终端中返回错误: composer require api Using version ^1.2 for api-platform/api-pack ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Restricti

使用Symfony 4.4和composer构建应用程序在我的终端中返回错误:

composer require api

Using version ^1.2 for api-platform/api-pack
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.4.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/doctrine-bundle 1.6.7 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.6 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.5 requires symfony/framework-bundle ~2.7|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.4 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.3 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.2 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.1 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
    - doctrine/doctrine-bundle 1.6.0 requires symfony/framework-bundle ~2.3|~3.0 -> no matching package found.
    - Conclusion: don't install api-platform/api-pack v1.2.1
    - Conclusion: remove doctrine/doctrine-bundle 2.0.7
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-common 2.0.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-common 2.0.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Installation request for symfony/framework-bundle (locked at v4.4.6, required as 4.4.*) -> satisfiable by symfony/framework-bundle[v4.4.6].
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-common 2.0.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-common 2.0.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3
    - Installation request for phpdocumentor/reflection-common (locked at 2.0.0) -> satisfiable by phpdocumentor/reflection-common[2.0.0].
    - Conclusion: don't install api-platform/api-pack v1.2.1|remove phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Conclusion: don't install api-platform/api-pack v1.2.1|don't install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 3.0.0|install phpdocumentor/reflection-docblock 3.0.1|install phpdocumentor/reflection-docblock 3.0.2|install phpdocumentor/reflection-docblock 3.0.3|install phpdocumentor/reflection-docblock 3.1.0|install phpdocumentor/reflection-docblock 3.1.1|install phpdocumentor/reflection-docblock 3.2.0|install phpdocumentor/reflection-docblock 3.2.1|install phpdocumentor/reflection-docblock 3.2.2|install phpdocumentor/reflection-docblock 3.2.3|install phpdocumentor/reflection-docblock 3.3.0|install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 4.0.0|install phpdocumentor/reflection-docblock 4.0.1|install phpdocumentor/reflection-docblock 4.1.0|install phpdocumentor/reflection-docblock 4.1.1|install phpdocumentor/reflection-docblock 4.2.0|install phpdocumentor/reflection-docblock 4.3.0|install phpdocumentor/reflection-docblock 4.3.1
    - Installation request for phpdocumentor/reflection-docblock (locked at 5.1.0) -> satisfiable by phpdocumentor/reflection-docblock[5.1.0].
    - Installation request for api-platform/api-pack ^1.2 -> satisfiable by api-platform/api-pack[v1.2.0, v1.2.1].
    - Conclusion: don't install doctrine/doctrine-bundle 2.0.7
    - api-platform/api-pack v1.2.0 requires doctrine/doctrine-bundle ^1.6 -> satisfiable by doctrine/doctrine-bundle[1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.6.0, 1.6.1, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1].
    - Can only install one of: doctrine/doctrine-bundle[1.11.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.11.1, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.11.2, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.1, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.2, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.3, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.4, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.5, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.6, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.12.7, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.10.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.10.1, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.10.2, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.10.3, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.10, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.11, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.12, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.13, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.8, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.6.9, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.7.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.7.1, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.7.2, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.8.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.8.1, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.9.0, 2.0.7].
    - Can only install one of: doctrine/doctrine-bundle[1.9.1, 2.0.7].
    - Installation request for doctrine/doctrine-bundle (locked at 2.0.7) -> satisfiable by doctrine/doctrine-bundle[2.0.7].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.
编写器需要api
将^1.2版用于api平台/api包
./composer.json已更新
使用包信息加载composer存储库
更新依赖项(包括需要开发人员)
将“symfony/symfony”中列出的包限制为“4.4.*”
无法将您的需求解析为可安装的软件包集。
问题1
-条令/条令包1.6.7需要symfony/framework包~2.7 | ~3.0->未找到匹配的包。
-条令/条令包1.6.6需要symfony/framework包~2.7 | ~3.0->未找到匹配的包。
-条令/条令包1.6.5需要symfony/framework包~2.7 | ~3.0->未找到匹配的包。
-条令/条令包1.6.4需要symfony/framework包~2.3 | ~3.0->未找到匹配的包。
-条令/条令包1.6.3需要symfony/framework包~2.3 | ~3.0->未找到匹配的包。
-条令/条令包1.6.2需要symfony/framework包~2.3 | ~3.0->未找到匹配的包。
-条令/条令包1.6.1需要symfony/framework包~2.3 | ~3.0->未找到匹配的包。
-条令/条令包1.6.0需要symfony/framework包~2.3 | ~3.0->未找到匹配的包。
-结论:不要安装api平台/api包v1.2.1
-结论:删除条令/条令束2.0.7
-结论:不要安装api平台/api包v1.2.1 |删除phpdocumentor/reflection docblock 5.1.0 |安装phpdocumentor/reflection docblock 3.0.0 |安装phpdocumentor/reflection docblock 3.0.1 |安装phpdocumentor/reflection docblock 3.0.3 |安装phpdocumentor/reflection docblock3.1.0 |安装phpdocumentor/reflection DockBlock 3.1.1 |安装phpdocumentor/reflection DockBlock 3.2.0 |安装phpdocumentor/reflection DockBlock 3.2.2 |安装phpdocumentor/reflection DockBlock 3.2.3 |安装phpdocumentor/reflection DockBlock 3.3.0 |安装phpdocumentor/reflection DockBlock 3.3.3.2 |安装phpdocumentor/reflection docblock 4.0.0 |安装phpdocumentor/reflection docblock 4.0.1 |安装phpdocumentor/reflection docblock 4.1.0 |安装phpdocumentor/reflection docblock 4.2.0 |安装phpdocumentor/reflection docblock 4.3.0 |安装phpdocumentor/reflection docblock 4.3.1
-结论:不安装api平台/api包v1.2.1 |不安装phpdocumentor/reflection DockBlock 5.1.0 |安装phpdocumentor/reflection DockBlock 3.0.0 |安装phpdocumentor/reflection DockBlock 3.0.1 |安装phpdocumentor/reflection DockBlock 3.0.3 |安装phpdocumentor/reflection DockBlock3.1.0 |安装phpdocumentor/reflection DockBlock 3.1.1 |安装phpdocumentor/reflection DockBlock 3.2.0 |安装phpdocumentor/reflection DockBlock 3.2.2 |安装phpdocumentor/reflection DockBlock 3.2.3 |安装phpdocumentor/reflection DockBlock 3.3.0 |安装phpdocumentor/reflection DockBlock 3.3.3.2 |安装phpdocumentor/reflection docblock 4.0.0 |安装phpdocumentor/reflection docblock 4.0.1 |安装phpdocumentor/reflection docblock 4.1.0 |安装phpdocumentor/reflection docblock 4.2.0 |安装phpdocumentor/reflection docblock 4.3.0 |安装phpdocumentor/reflection docblock 4.3.1
-结论:不要安装api平台/api包v1.2.1 |删除phpdocumentor/reflection docblock 5.1.0 |安装phpdocumentor/reflection docblock 3.0.0 |安装phpdocumentor/reflection docblock 3.0.1 |安装phpdocumentor/reflection docblock 3.0.3 |安装phpdocumentor/reflection docblock3.1.0 |安装phpdocumentor/reflection DockBlock 3.1.1 |安装phpdocumentor/reflection DockBlock 3.2.0 |安装phpdocumentor/reflection DockBlock 3.2.2 |安装phpdocumentor/reflection DockBlock 3.2.3 |安装phpdocumentor/reflection DockBlock 3.3.0 |安装phpdocumentor/reflection DockBlock 3.3.3.2 |安装phpdocumentor/reflection docblock 4.0.0 |安装phpdocumentor/reflection docblock 4.0.1 |安装phpdocumentor/reflection docblock 4.1.0 |安装phpdocumentor/reflection docblock 4.2.0 |安装phpdocumentor/reflection docblock 4.3.0 |安装phpdocumentor/reflection docblock 4.3.1
-结论:不安装api平台/api包v1.2.1 |不安装phpdocumentor/reflection DockBlock 5.1.0 |安装phpdocumentor/reflection DockBlock 3.0.0 |安装phpdocumentor/reflection DockBlock 3.0.1 |安装phpdocumentor/reflection DockBlock 3.0.3 |安装phpdocumentor/reflection DockBlock3.1.0 |安装phpdocumentor/reflection DockBlock 3.1.1 |安装phpdocumentor/reflection DockBlock 3.2.0 |安装phpdocumentor/reflection DockBlock 3.2.2 |安装phpdocumentor/reflection DockBlock 3.2.3 |安装phpdocumentor/reflection DockBlock 3.3.0 |安装phpdocumentor/reflection DockBlock 3.3.3.2 |安装phpdocumentor/reflection docblock 4.0.0 |安装phpdocumentor/reflection docblock 4.0.1 |安装phpdocumentor/reflection docblock 4.1.0 |安装phpdocumentor/reflection docblock 4.2.0 |安装phpdocumentor/reflection docblock 4.3.0 |安装phpdocumentor/reflection docblock 4.3.1
-结论:不要安装api平台/api包v1.2.1 |删除phpdocumentor/reflection common 2.0.0 |安装phpdocumentor/reflection docblock 3.0.0 |安装phpdocumentor/reflection docblock 3.0.1 |安装phpdocumentor/reflection docblock 3.0.2 |安装phpdocumentor/reflection docblock 3.0.3
-结论:不要安装api平台/api包v1.2.1;不要安装phpdocumentor/reflection common 2.0.0;安装phpdo
composer require doctrine/doctrine-bundle ~2.0.7