查看php安装的所有包,composer-php – 如何获取所有已安装的软件包的列表以及版本在composer?...

我一直在使用Symfony 2.1在我的本地机器上的项目。我已经上传到我的服务器,但当我尝试使用Composer安装供应商捆绑包,我得到了很多依赖性错误。据推测,这是与最新版本的Symfony刚刚被发布和我的composer.json文件没有指定确切的版本号有关。

有什么方法可以快速显示我的本地机器上的一切的版本号?

这里是我的composer.json文件(它工作正常,直到几天前):

{

"name": "symfony/framework-standard-edition",

"description": "The \"Symfony Standard Edition\" distribution",

"autoload": {

"psr-0": { "": "src/" }

},

"require": {

"php": ">=5.3.3",

"symfony/symfony": "2.1.*",

"doctrine/orm": ">=2.2.3,<2.4-dev",

"doctrine/doctrine-bundle": "1.0.*",

"twig/extensions": "1.0.*",

"symfony/assetic-bundle": "2.1.*",

"symfony/swiftmailer-bundle": "2.1.*",

"symfony/monolog-bundle": "2.1.*",

"sensio/distribution-bundle": "2.1.*",

"sensio/framework-extra-bundle": "2.1.*",

"sensio/generator-bundle": "2.1.*",

"jms/security-extra-bundle": "1.2.*",

"jms/di-extra-bundle": "1.1.*",

"sonata-project/admin-bundle": "*",

"sonata-project/cache-bundle": "dev-master",

"sonata-project/doctrine-orm-admin-bundle": "dev-master",

"stof/doctrine-extensions-bundle": "1.1.x-dev",

"sonata-project/user-bundle": "dev-master",

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

"friendsofsymfony/user-bundle": "2.0.x-dev",

"friendsofsymfony/jsrouting-bundle": "*",

"liip/imagine-bundle": "*",

"simplethings/form-extra-bundle": "dev-master",

"antimattr/google-bundle": "dev-master",

"doctrine/doctrine-fixtures-bundle": "dev-master",

"genemu/form-bundle": "2.1.*",

"behat/behat": "2.4.*@stable",

"behat/mink": "1.4.*@stable",

"behat/symfony2-extension": "*@stable",

"behat/mink-extension": "*@stable",

"behat/mink-selenium2-driver": "*@stable",

"behat/mink-browserkit-driver": "*",

"liip/functional-test-bundle": "dev-master"

},

"scripts": {

"post-install-cmd": [

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"

],

"post-update-cmd": [

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",

"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"

]

},

"minimum-stability": "dev",

"extra": {

"symfony-app-dir": "app",

"symfony-web-dir": "web"

},

"config": {

"bin-dir": "bin/"

}

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值