2016-01-19 90 views
1

我試圖按照https://github.com/edvler/yii2-adldap-module中的步驟安裝yii2-adldap-module。當我嘗試通過php composer.phar require edvlerblog/yii2-adldap-module "v1.0.0"安裝它,我收到以下錯誤安裝yii2-adldap-module

Your requirements could not be resolved to an installable set of packages. 

    Problem 1 
    - Installation request for edvlerblog/yii2-adldap-module v1.0.0 -> satisfiable by edvlerblog/yii2-adldap-module[v1.0.0]. 
    - edvlerblog/yii2-adldap-module v1.0.0 requires adldap/adldap v4.0-stable -> 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 
    see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. 

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. 

爲yii2如何安裝adldap?有沒有其他方法或擴展仍在使用?

回答

0

沒有與擴展一個問題 - take a look

基本上,adldap模塊不再保持,因此需要改變使用adldap模塊的叉Yii2模塊的依賴關係。

你也許可以通過分叉Yii2模塊來解決這個問題,甚至可以提交一個pull請求來修復它。 ;)