From f92c42863f4dc9ea86adb19cc558d49a8df6a07f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=80=99=E5=AD=A6=E6=9D=B0?= Date: Mon, 19 Mar 2018 14:23:22 +0800 Subject: [PATCH] readme fix --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a51ec05..1a5f209 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,13 @@ # Auth 系统 PHP Client -> 该项目使用 composer 来完成加载,需要对项目的 ``` composer.json ``` 中增加如下配置手动制定仓库的地址(因为仓库为公司内部私有的,不对外开放) +> 该项目使用 composer 来完成加载 -```json - - "repositories": [ - { - "type": "vcs", - "url": "git@git.int.haowumc.com:arch/php-auth-client.git" - } - ] - -``` 执行 ```bash +composer config repositories.php-auth-client vcs git@git.int.haowumc.com:arch/php-auth-client.git composer require arch/php-auth-client ```