这是我完整的 composer.json 与Symfony version 2.3.2-DEV - app/dev/debug
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": {
"": "src/"
}
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*@dev",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "dev-master",
"symfony/assetic-bundle": "2.3.*",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.3.*",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0",
"jms/security-extra-bundle": "1.5.*",
"jms/di-extra-bundle": "1.4.*",
"kriswallsmith/assetic": "1.1.*@dev",
"mlehner/gelf-php": "v1.0",
"doctrine/migrations": "dev-master",
"doctrine/doctrine-migrations-bundle": "dev-master",
"stof/doctrine-extensions-bundle": "1.1.*@dev",
"sensiolabs/doctrine-query-statistics-bundle": "1.0.*@dev",
"jms/serializer-bundle": "0.9.x",
"sonata-project/jquery-bundle": "1.8.*@dev",
"sonata-project/exporter": "1.1.*",
"sonata-project/admin-bundle": "2.2.*@dev",
"sonata-project/cache-bundle": "2.1.*@dev",
"sonata-project/intl-bundle": "2.2.*@dev",
"sonata-project/doctrine-orm-admin-bundle": "2.2.*@dev",
"sonata-project/cache-bundle": "dev-master",
"sonata-project/easy-extends-bundle": "dev-master",
"sonata-project/user-bundle": "2.2.*@dev",
"sonata-project/block-bundle": "dev-master",
"sonata-project/markitup-bundle": "dev-master",
"sonata-project/formatter-bundle": "dev-master",
"sonata-project/doctrine-extensions": "1.0.0",
"friendsofsymfony/user-bundle": "1.3.*@dev",
"knplabs/knp-paginator-bundle": "dev-master",
"liip/monitor": "0.5.*@dev",
"liip/monitor-bundle": "0.5.*@dev",
"mockery/mockery": "0.7.2",
"aws/aws-sdk-php": "2.0.3",
"zendframework/zend-barcode": "2.0.*",
"zendframework/zend-validator": "2.0.*",
"egulias/listeners-debug-command-bundle": "*",
"kylecannon/easycsv": "dev-master",
"predis/predis": "0.8.*@dev"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"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": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"config": {
"bin-dir": "bin"
},
"minimum-stability": "stable",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.2-dev",
"dev-master": "2.3-dev"
}
}
}