-1

作曲家.json

{
"name": "go-get-me",
"license": "proprietary",
"type": "project",
"autoload": {
    "psr-4": {
        "": "src/"
    },
    "classmap": [
        "app/AppKernel.php",
        "app/AppCache.php"
    ]
},
"require": {
    "php": ">=5.5.9",
    "symfony/symfony": "2.8.*",
    "doctrine/orm": "^2.4.8",
    "doctrine/doctrine-bundle": "~1.4",
    "symfony/swiftmailer-bundle": "~2.3",
    "symfony/monolog-bundle": "~2.4",
    "sensio/distribution-bundle": "~5.0",
    "sensio/framework-extra-bundle": "^3.0.2",
    "incenteev/composer-parameter-handler": "~2.0",
    "friendsofsymfony/user-bundle": "~2.0@dev",
    "sylius/flow-bundle": "^0.15.0",
    "hwi/oauth-bundle": "^0.4.1",
    "stripe/stripe-php": "^3.14",
    "misd/phone-number-bundle": "^1.1",
    "twig/extensions": "^1.3",
    "php-http/guzzle6-adapter": "^1",
    "payum/payum-bundle": "^2.1@dev",
    "payum/paypal-express-checkout-nvp": "^1.3.3",
    "pimax/fb-messenger-php": "dev-master",
    "twilio/sdk": "^4.10",
    "vresh/twilio-bundle": "^1.0",
    "infusionsoft/php-sdk": "^1.2",
    "hayageek/oauth2-yahoo": "^2.0",
    "glifery/entity-hidden-type-bundle": "^1.2"
},
"require-dev": {
    "sensio/generator-bundle": "~3.0",
    "symfony/phpunit-bridge": "~2.7",
    "doctrine/doctrine-fixtures-bundle": "^2.3",
    "faisalman/simple-excel-php" : "0.3.*"
},
"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",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
    ],
    "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",
        "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
    ]
},
"config": {
    "bin-dir": "bin",
    "platform": {
        "php": "5.5.9"
    }
},
"extra": {
    "symfony-app-dir": "app",
    "symfony-web-dir": "web",
    "symfony-assets-install": "relative",
    "incenteev-parameters": {
        "file": "app/config/parameters.yml"
    }
}

}

错误信息

我是 symfony2 的新手。在这里我正在更新所需的依赖项,它显示一个错误,我很困惑,我是否需要克隆 payum 捆绑包?如果是,那么路径必须是什么?因为我当前的路径是/e/xampp/htdocs/nitu.dhaka/2016/subscription。

4

2 回答 2

2

1/您的问题之一是您需要开发一个版本的库。

"payum/payum-bundle": "^2.1@dev",

你可以降低你minimum-stability的开发,但你可能会有一些意想不到的行为,因为你可能会接受安装所有包的一些不稳定版本。如果您仍想处理,请将此行添加到您的 composer.json

"minimum-stability": "stable",

请参阅https://getcomposer.org/doc/04-schema.md#minimum-stability了解更多信息。

但是,我的建议是使用您的软件包的非开发版本,例如:

"payum/payum-bundle": "^2.1@dev",

可能成为

"payum/payum-bundle": "~2.1",

2/您的某些软件包缺少 php 库requires ext-intl *。为了安装它,请参考https://stackoverflow.com/a/26308767/2377164

于 2016-09-12T17:32:47.033 回答
0

哦,终于开始安装了,我做了以下更改:- 1. 通过从 php.ini 中取消注释来配置 ext-intl 包,即在 xampp/php/ 2.非常重要的替换 payum/payum-bundle": "^2.1 @dev”,到“payum/payum-bundle”:“^2.0”,“payum/paypal-express-checkout-nvp”:“^1.3”,我觉得“payum/payum-bundle”有一个组合: "^2.0", "payum/paypal-express-checkout-nvp": "^1.3",

这对我有用。

谢谢。

于 2016-09-12T18:01:06.543 回答