Пакет Sonata Easy-Extends не устанавливается
-
21-12-2019 - |
Вопрос
Я пытаюсь настроить пользовательский пакет Sonata.В соответствии с инструкции Я также пытаюсь установить Sonata Easy-Extends (согласно эти инструкции).
К сожалению, я не могу установить Easy-Extends через композитор (на Win7):
>composer require sonata-project/easy-extends-bundle
Please provide a version constraint for the sonata-project/easy-extends-bundle requirement: dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package sonata-project/easy-extends-bundle could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for symfony/framework-standard-edition 2.5.x-dev -> satisfiable by symfony/framework-standard-edition[2.5.x-dev].
- symfony/framework-standard-edition 2.5.x-dev requires sonata-project/easy-extends-bundle 2.0 -> no matching package found.
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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Я пробовал различные ограничения версий, включая 2.0, как предложено в инструкциях.
Что мне не хватает?
Тиа Мэтт
Решение
Основываясь на обсуждении в группе Google sonata-users, мне удалось установить пакет, вручную добавив следующее в мой composer.json
:
...
"sonata-project/easy-extends-bundle": "dev-master",
...
Соответствующую тему можно найти в GG. здесь.
Не связан с StackOverflow