如何在我的 netbeans php 项目中包含 github 的分叉和编辑的回购?

How to include forked and edited repo of github in my netbeans php project?

我依赖这个模块

https://github.com/SocalNick/ScnSocialAuth

但是我必须对模块进行更改才能使其工作 但是永远不要直接更改供应商模块。

如何使用分叉和编辑的模块作为依赖项而不是原始模块?

是否可以使用 composer ?

However I have to make a change to module in order for it to work but one should never directly change a vendor module.

您可以将它复制到您的 github 帐户,然后将您的本地副本添加到您的工作目录。

How can I use the forked and edited module as dependency instead of original module ? Go to the github repo, click on the fork and it will copy it to your github account.

现在可以直接添加,也可以使用子模块来添加。

在此处阅读有关子模块的更多信息: