-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
离线安装需求 #2226
Comments
如果不是用composer, 把这个包下载下来不就得了?如果你是用composer install的话,包会安装在项目目录vendor里。 |
是把项目拉下来吗,放在哪个目录呢,会不会缺少依赖 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
包下下来,放在哪个路径呢,是否有要求,依赖怎么查看呢? |
你可以自行查看composer repositories如何配置离线的依赖包。 https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository 在composer.json自行配置 repositories,比如: {
"repositories": [
{
"type": "path",
"url": "../../packages/my-package" // 那个依赖包的路径
}
],
"require": {
"my/package": "*" // 依赖包里面的 composer.json name
}
} 然后 composer install / composer update就可以了。 |
谢谢 |
作者你好,我是在无互联网的环境下开发部署PHPword的,请问怎样才能离线安装PHPword呢?有没有便捷的安装包?
The text was updated successfully, but these errors were encountered: