composer.json:
"repositories": [
{
"type": "package",
"package": {
"name": "codeigniter/translation",
"version": "3.1.4",
"source": {
"url": "https://github.com/bcit-ci/codeigniter3-translations.git",
"type": "git",
"reference": "master"
}
}
}
],
"require": {
"codeigniter/translation": "3.1.*",
},
使用作曲家没有问题。 Github Commit-Push:
git add --all
git commit -m "test"
git push origin master
codeigniter / translation目录为空。文件尚未上传。它必须是这样的: