Yii2 终于released了。发现他的advanced的目录和我现在完全一致。哈哈。。。 不过在测试的时候遇到了这个问题: composer?install?? Loading?composer?repositories?with?package?information?? Installing?dependencies?(including?require-dev)?? Your?req
Yii2 终于released了。发现他的advanced的目录和我现在完全一致。哈哈。。。
不过在测试的时候遇到了这个问题:
composer?install?? Loading?composer?repositories?with?package?information?? Installing?dependencies?(including?require-dev)?? Your?requirements?could?not?be?resolved?to?an?installable?set?of?packages.?? ?? ??Problem?1?? ????-?Installation?request?for?yiisoft/yii2?*?->?satisfiable?by?yiisoft/yii2[2.0.0].?? ????-?yiisoft/yii2?2.0.0?requires?bower-asset/jquery?2.1.*@stable?|?1.11.*@stable?->?no?matching?package?found.?? ??Problem?2?? ????-?Installation?request?for?yiisoft/yii2-bootstrap?*?->?satisfiable?by?yiisoft/yii2-bootstrap[2.0.0].?? ????-?yiisoft/yii2-bootstrap?2.0.0?requires?bower-asset/bootstrap?3.2.*?|?3.1.*?->?no?matching?package?found.?? ??Problem?3?? ????-?Installation?request?for?yiisoft/yii2-gii?*?->?satisfiable?by?yiisoft/yii2-gii[2.0.0].?? ????-?yiisoft/yii2-gii?2.0.0?requires?bower-asset/typeahead.js?0.10.*?->?no?matching?package?found.?? ??Problem?4?? ????-?yiisoft/yii2?2.0.0?requires?bower-asset/jquery?2.1.*@stable?|?1.11.*@stable?->?no?matching?package?found.?? ????-?yiisoft/yii2-faker?2.0.0?requires?yiisoft/yii2?*?->?satisfiable?by?yiisoft/yii2[2.0.0].?? ????-?Installation?request?for?yiisoft/yii2-faker?*?->?satisfiable?by?yiisoft/yii2-faker[2.0.0].?? ?? 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??for?more?details.?? ?? Read??for?further?common?problems.??
这不是什么大问题,只是安装不上罢了。问题出来哪里呢?看了一下官方的issue,有对它的解释:https://github.com/composer/composer/issues/2873
毕竟,虽然yii2是stable了,但不是所有关联的项目都是stable了。把项目中的:"minimum-stability":"stable"改成 "minimum-stability":"dev"即可
于是:composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing yiisoft/yii2-composer (dev-master 73ad236)
Cloning 73ad236be1bf7cf4415559a4b592dd5b9cb4b288
-------EOF。
原文地址:Yii2 released, 感谢原作者分享。

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

Safe Exam Browser
Safe Exam Browser是一個安全的瀏覽器環境,安全地進行線上考試。該軟體將任何電腦變成一個安全的工作站。它控制對任何實用工具的訪問,並防止學生使用未經授權的資源。

DVWA
Damn Vulnerable Web App (DVWA) 是一個PHP/MySQL的Web應用程序,非常容易受到攻擊。它的主要目標是成為安全專業人員在合法環境中測試自己的技能和工具的輔助工具,幫助Web開發人員更好地理解保護網路應用程式的過程,並幫助教師/學生在課堂環境中教授/學習Web應用程式安全性。 DVWA的目標是透過簡單直接的介面練習一些最常見的Web漏洞,難度各不相同。請注意,該軟體中

SublimeText3 英文版
推薦:為Win版本,支援程式碼提示!

EditPlus 中文破解版
體積小,語法高亮,不支援程式碼提示功能

SublimeText3 Linux新版
SublimeText3 Linux最新版