Как установить проект sonata/user-bundle в Symfony 7?Php

Кемеровские программисты php общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Как установить проект sonata/user-bundle в Symfony 7?

Сообщение Anonymous »

php:8.3
Symfony 7.1.5
Администратор Sonata успешно установлен.
Sonata ORM будле - тоже нормально.
Но пользовательский бандл...

Код: Выделить всё

 composer require sonata-project/user-bundle -W

Your requirements could not be resolved to an installable set of packages.

Problem 1
- sonata-project/user-bundle 2.0.0 requires sonata-project/admin-bundle 2.0.* -> found sonata-project/admin-bundle[2.0.0] but it conflicts with your root composer.json require (^4.31).
- sonata-project/user-bundle[2.1.0, ..., 2.1.1] require symfony/http-foundation >=2.1, found symfony/http-foundation[v2.1.0, ..., v2.2.11] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[2.2.0, ..., 2.2.5] require symfony/http-foundation ~2.2 -> found symfony/http-foundation[v2.2.0, ..., v2.8.52] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[3.0.0, ..., 3.3.0] require php ^5.3 || ^7.0 -> your php version (8.3.12) does not satisfy that requirement.
- sonata-project/user-bundle[3.4.0, 4.0.0, ..., 4.6.0] require php ^7.1 -> your php version (8.3.12) does not satisfy that requirement.
- sonata-project/user-bundle[3.5.0, ..., 3.6.0] require php ^5.6 || ^7.0 -> your php version (8.3.12) does not satisfy that requirement.
- sonata-project/user-bundle[4.7.0, ..., 4.9.0] require php ^7.2 -> your php version (8.3.12) does not satisfy that requirement.
- sonata-project/user-bundle[4.10.0, ..., 4.11.1] require php ^7.3 -> your php version (8.3.12) does not satisfy that requirement.
- sonata-project/user-bundle[4.12.0, ..., 4.15.0] require doctrine/persistence ^1.3 || ^2.1 -> found doctrine/persistence[1.3.0, ..., 1.3.8, 2.1.0, ..., 2.5.7] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[5.0.0, ..., 5.1.0] require doctrine/persistence ^2.1 -> found doctrine/persistence[2.1.0, ..., 2.5.7] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[5.2.0, ..., 5.5.0] require symfony/config ^4.4.11 || ^5.4 || ^6.0 -> found symfony/config[v4.4.11, ..., v4.4.44, v5.4.0, ..., v5.4.40, v6.0.0, ..., v6.4.8] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[5.6.0, ..., 5.6.3] require symfony/config ^4.4.11 || ^5.4 || ^6.2 -> found symfony/config[v4.4.11, ..., v4.4.44, v5.4.0, ..., v5.4.40, v6.2.0, ..., v6.4.8] but these were not loaded, likely because it conflicts with another require.
- sonata-project/user-bundle[5.7.0, ..., 5.13.0] require symfony/config ^5.4 || ^6.2 -> found symfony/config[v5.4.0, ..., v5.4.40, v6.2.0, ..., v6.4.8] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires sonata-project/user-bundle * -> satisfiable by sonata-project/user-bundle[2.0.0, ..., 2.2.5, 3.0.0, ..., 3.6.0, 4.0.0, ..., 4.15.0, 5.0.0, ..., 5.13.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require sonata-project/user-bundle:*" to figure out if any version is installable, or "composer require sonata-project/user-bundle:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Как исправить?

Подробнее здесь: https://stackoverflow.com/questions/790 ... -symfony-7
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • Как использовать Sonata User Bundle без поля электронной почты?
    Anonymous » » в форуме Php
    0 Ответы
    23 Просмотры
    Последнее сообщение Anonymous
  • Как заставить Sonata Media Bundle генерировать изображения в отдельных папках
    Anonymous » » в форуме Php
    0 Ответы
    103 Просмотры
    Последнее сообщение Anonymous
  • @OneToOne или @ManyToOne в Instrument.created ссылается на неизвестную сущность: user.User, где User — интерфейс.
    Anonymous » » в форуме JAVA
    0 Ответы
    130 Просмотры
    Последнее сообщение Anonymous
  • @OneToOne или @ManyToOne в Instrument.created ссылается на неизвестную сущность: user.User, где User — интерфейс.
    Anonymous » » в форуме JAVA
    0 Ответы
    91 Просмотры
    Последнее сообщение Anonymous
  • Symfony 4 переопределяет контроллер Sonata Admin CRUD
    Anonymous » » в форуме Php
    0 Ответы
    13 Просмотры
    Последнее сообщение Anonymous

Вернуться в «Php»