Zend framework2 无法安装ScnSocialAuth在足够稳定的版本imum稳定性设置中不可用

Zend framework2 无法安装ScnSocialAuth在足够稳定的版本imum稳定性设置中不可用,zend-framework2,Zend Framework2,我有两个问题: 我正试图通过composer在我的zend 2项目上安装SCNSocialouth,但收到以下错误消息: Problem 1 - socalnick/scn-social-auth 1.9.4 requires hybridauth/hybridauth dev-master

我有两个问题:

我正试图通过composer在我的zend 2项目上安装SCNSocialouth,但收到以下错误消息:

Problem 1
    - socalnick/scn-social-auth 1.9.4 requires hybridauth/hybridauth dev-master                                                                                                                 -> no matching package found.
    - socalnick/scn-social-auth 1.5.1 requires zf-commons/zfc-base dev-master ->                                                                                                                 no matching package found.
    - socalnick/scn-social-auth 1.18.1 requires zf-commons/zfc-user 1.2.* -> no                                                                                                                 matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting                                                                   
Fatal error: Class 'Hybrid_Auth' not found in \vendor\ScnSocialAuth\src\ScnSocialAuth\Service\HybridAuthFactory.php on line 34
这是我的composer.json文件:

"require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "2.3.*",
        "zf-commons/zfc-user": "~0.1.2",
        "doctrine/doctrine-orm-module": "0.*",
        "zf-commons/zfc-user-doctrine-orm": "0.*",
        "zendframework/zend-developer-tools": "dev-master",
        "slm/mail": "~1.5",
        "bjyoungblood/bjy-authorize": "1.4.*",
        "acelaya/zf2-acmailer": "4.*",
        "phpunit/phpunit": "4.3.*",
        "nikolaposa/zf-open-graph": "1.*",
        "socalnick/scn-social-auth": "1.*"
    }
我尝试手动安装程序包,但收到以下错误消息:

Problem 1
    - socalnick/scn-social-auth 1.9.4 requires hybridauth/hybridauth dev-master                                                                                                                 -> no matching package found.
    - socalnick/scn-social-auth 1.5.1 requires zf-commons/zfc-base dev-master ->                                                                                                                 no matching package found.
    - socalnick/scn-social-auth 1.18.1 requires zf-commons/zfc-user 1.2.* -> no                                                                                                                 matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting                                                                   
Fatal error: Class 'Hybrid_Auth' not found in \vendor\ScnSocialAuth\src\ScnSocialAuth\Service\HybridAuthFactory.php on line 34
因此,我怀疑该软件包需要通过composer安装


如果您能就如何正确安装提供建议,将不胜感激。

请尝试在composer.json中添加hybridauth的
@dev
版本要求,即,使其看起来像这样

"require": {
    "php": ">=5.3.3",
    "zendframework/zendframework": "2.3.*",
    "zf-commons/zfc-user": "~0.1.2",
    "doctrine/doctrine-orm-module": "0.*",
    "zf-commons/zfc-user-doctrine-orm": "0.*",
    "zendframework/zend-developer-tools": "dev-master",
    "slm/mail": "~1.5",
    "bjyoungblood/bjy-authorize": "1.4.*",
    "acelaya/zf2-acmailer": "4.*",
    "phpunit/phpunit": "4.3.*",
    "nikolaposa/zf-open-graph": "1.*",
    "socalnick/scn-social-auth": "1.*",
    "hybridauth/hybridauth": "@dev"
}

嘿,克里斯普。谢谢你的建议。我现在就试试。同时,我想知道你是否愿意在这里看看这个问题;基本上,我只是做了一个新的项目。我现在可以安装Scn了。但是,由于zend会话丢失,因此它将不起作用;