Установка Symfony Composer FIrst: ваши требования не могут быть решены в устанавливаемом наборе пакетов

Я здесь совершенно потерялся. Я настроил свой wampserver на использование php 8.0.0, создал новую папку и использовал первую команду symfony в их документации:

composer create-project symfony/website-skeleton:"5.2.x@dev" my_project_name

И у меня такая ошибка:

Creating a "symfony/website-skeleton:5.2.x@dev" project at "./micropro"
Installing symfony/website-skeleton (5.2.x-dev 0abf2e7cfde8907a25fe4160d9baa05a17de1d9f)
  - Syncing symfony/website-skeleton (5.2.x-dev 0abf2e7) into cache
  - Installing symfony/website-skeleton (5.2.x-dev 0abf2e7): Cloning 0abf2e7cfd from cache
Created project in C:\wamp\www\Projects\micropro
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking symfony/flex (v1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/flex (v1.11.0): Extracting archive

Symfony operations: 1 recipe (cf6f7118abf71a8693a38eef117dc927)
  - Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "5.2.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - symfony/orm-pack[dev-main, v1.0.8, v2.0.0] require doctrine/doctrine-migrations-bundle * -> satisfiable by doctrine/doctrine-migrations-bundle[dev-manager-loader, dev-container-aware-migration-factory, dev-2.2.x-merge-up-into-
3.0.x_5f12ade8acaa06.99463690, v1.0.0-beta1, ..., 1.3.x-dev, v2.0.0-alpha1, ..., 2.2.x-dev, 3.0.0-alpha.1, ..., 3.1.x-dev].
    - doctrine/doctrine-migrations-bundle v1.0.0-beta1 requires symfony/symfony >=2.0 -> satisfiable by symfony/symfony[v5.2.0-BETA1, ..., 5.2.x-dev].
    - symfony/orm-pack[v1.1.0, ..., v1.2.0] require doctrine/doctrine-migrations-bundle ^2 -> satisfiable by doctrine/doctrine-migrations-bundle[v2.0.0-alpha1, ..., 2.2.x-dev].
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0-RC2.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0-RC1.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0-BETA3.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0-BETA2.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony v5.2.0-BETA1.
    - symfony/website-skeleton 5.2.x-dev conflicts with symfony/symfony 5.2.x-dev.
    - symfony/orm-pack[v1.0.0, ..., v1.0.7] require php ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
    - doctrine/doctrine-migrations-bundle[dev-2.2.x-merge-up-into-3.0.x_5f12ade8acaa06.99463690, v2.0.0-alpha1, ..., 2.2.x-dev] require php ^7.1 -> your php version (8.0.0) does not satisfy that requirement.
    - doctrine/doctrine-migrations-bundle[dev-manager-loader, dev-container-aware-migration-factory, 3.0.0-alpha.1, ..., 3.1.x-dev] require php ^7.2 -> your php version (8.0.0) does not satisfy that requirement.
    - doctrine/doctrine-migrations-bundle[1.0.x-dev, ..., 1.3.x-dev] require symfony/framework-bundle ~2.7|~3.3|~4.0 -> found symfony/framework-bundle[v2.7.0-BETA1, ..., 2.8.x-dev, v3.3.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.
4.x-dev] but it conflicts with another require.
    - doctrine/doctrine-migrations-bundle[1.0.1, ..., 1.2.x-dev] require symfony/framework-bundle ~2.3|~3.0 -> found symfony/framework-bundle[v2.3.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev] but it conflicts with another requir
e.
    - doctrine/doctrine-migrations-bundle[1.0.0-BETA2, ..., 1.0.0] require symfony/framework-bundle ~2.1 -> found symfony/framework-bundle[v2.1.0, ..., 2.8.x-dev] but it conflicts with another require.
    - symfony/website-skeleton is present at version 5.2.x-dev and cannot be modified by Composer
    - Root composer.json requires symfony/orm-pack * -> satisfiable by symfony/orm-pack[dev-main, v1.0.0, ..., v1.2.0, v2.0.0].

Как он может сказать мне, что ему требуется php ^7.0, когда я даю ему php8.0.0?? Для всех остальных ошибок я потерялся, я новичок в этом, пожалуйста, любая помощь будет принята с благодарностью.

0 ответов

Другие вопросы по тегам