سؤال

أحاول إعداد حزمة مستخدم 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 لمستخدمي السوناتا، تمكنت من تثبيت الحزمة عن طريق إضافة ما يلي يدويًا إلى ملفي composer.json:

...    
"sonata-project/easy-extends-bundle": "dev-master",
...

يمكن العثور على موضوع ذي صلة في GG هنا.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top