我是新来的作曲家,我试图通过作曲家更新,因为我明白我的作曲家安装此以下的lib如何使用作曲家没有版本(仅主机)
https://github.com/neitanod/forceutf8
所以安装包以.json看起来像这样
{
"config": {
"vendor-dir": "libs/vendor"
},
"require": {
"raven/raven": "0.7.1",
"monolog/monolog": "1.7.*",
"smarty/smarty": "3.1.16",
"forceutf8/forceutf8": "master"
}
}
的Bt出于某种原因(因为我认为forceutf8没有版本)与错误暂停,正确安装所有的休息,错误我得到的是
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package forceutf8/forceutf8 could not be found in any version, there may be a typo in the package na
me.
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 <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我尝试以下的版本还,但没有运气还是
{
"config": {
"vendor-dir": "libs/vendor"
},
"name": "career/skillquest",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/neitanod/forceutf8"
}
],
"require":
{
"forceutf8/forceutf8": "dev-master",
"raven/raven": "0.7.1",
"monolog/monolog": "1.7.*",
"smarty/smarty": "3.1.16"
}
}
问题是它需要
"neitanod/forceutf8": "dev-master"
不
"forceutf8/forceutf8": "dev-master"
你能请与其它包添加完整JSON文件,我试图加入这个,但未能获得所需要的文件格式 – mahen3d
改变答案。 –
forceutf8软件在哪里? – Sven