请帮助me.whem安装yii2
composer create-project yiisoft/yii2 i2-app-Advanced2.0.11
- Installing phpunit/phpunit (5.7.17): Loading from cache
- Installing codeception/base (2.2.10): Loading from cache
- Installing codeception/verify (0.3.3): Loading from cache
symfony/console suggests installing symfony/filesystem ()
symfony/console suggests installing symfony/process ()
symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
codeception/base suggests installing codeception/specify (BDD-style code blocks)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module)
codeception/base suggests installing league/factory-muffin (For DataFactory module)
codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support)
Writing lock file
Generating autoload files请帮帮我
谢谢
发布于 2017-06-20 12:30:22
是的,您应该安装fxp资产插件
只需打开命令提示符并键入
composer global require "fxp/composer-asset-plugin:^1.2.0"
点击enter.after,你可以安装yii2高级版
发布于 2017-03-27 03:32:54
你有没有?
composer global require "fxp/composer-asset-plugin:^1.2.0"yii2
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2project但更好的基本模板
composer create-project --prefer-dist yiisoft/yii2-app-basic yii2project局部共骗
composer require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"在全球范围内
composer global require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"有关www.pceuropa.net/blog/yii2-tests-codeception-configuration-first-test/的更多信息
发布于 2017-09-20 22:27:05
请提供composer.phar版本。从1.5.0开始,插件总是在安装之前安装,甚至在库(https://github.com/composer/composer/blob/master/CHANGELOG.md)之前安装。
可以忽略'suggests‘行,除非您知道并且正在使用请求的库。如果你想让这些库正常工作,PHP似乎缺少一些扩展。尝试安装它们,然后重新运行install composer install命令。
当你看到Writing lock file Generating autoload files的时候
Composer已经能够成功执行和完成。
https://stackoverflow.com/questions/43031450
复制相似问题