lazy!
那就使用自己的代码仓库,fork 这个第三方的仓库,修改后在 composer.json 增加:
"repositories": [ { "type": "vcs", "url": "https://github.com/xxx/yii2-oauth" }, ]