5
我想使用Composer來包含php readability git項目。這是我composer.json
文件:使用Composer獲取Kohana的github回購失敗:「找不到請求的包」
{
"repositories": [
{
"type": "package",
"package": {
"name": "php-readability/php-readability",
"version": "master",
"source": {
"url": "https://github.com/feelinglucky/php-readability.git",
"type": "git",
"reference": "branches/master"
}
}
}
],
"require": {
"php-readability/php-readability": "master"
}
}
我得到的錯誤是:
Problem 1
- The requested package php-readability/php-readability master could not be found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min
imum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common
problems.
這是我第一次用作曲因此很可能我的配置是錯誤的!
謝謝,男人! – 2014-02-21 22:27:39