Skip to content
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

不支持composer安装? #2

Closed
fastgoo opened this issue Sep 26, 2018 · 5 comments
Closed

不支持composer安装? #2

fastgoo opened this issue Sep 26, 2018 · 5 comments
Labels
enhancement New feature or request

Comments

@fastgoo
Copy link

fastgoo commented Sep 26, 2018

No description provided.

@Declarcall
Copy link

https://packagist.org/?query=swoole%2Fetcd-client
No packages found.
应该是没开发完吧

@twose
Copy link
Member

twose commented Sep 27, 2018

支持的, 可以先clone下, 我暂时没有swoole packagist的权限, 所以暂时没有上传

@eddycjy
Copy link

eddycjy commented Oct 16, 2018

@twose composer 安装会报错,看看要不要处理一下?

$ composer require swoole/etcd-client
                                                                                                                              
[InvalidArgumentException]                                                                                                               
Could not find a version of package swoole/etcd-client matching your minimum-stability (stable). 
Require it with an explicit version constraint allowing its desired stability.                                                                                                                                                                              

不然每次都要设置 "minimum-stability": "dev"

@twose
Copy link
Member

twose commented Oct 18, 2018

@eddycjy 稍后发个正式版

@twose twose closed this as completed Oct 18, 2018
@twose twose added the enhancement New feature or request label Oct 18, 2018
@marscoo
Copy link

marscoo commented Feb 9, 2019

貌似還沒上packagist,這裡給個懶人包:

在composer.json的repositories暫時加入此段

    "repositories": [
      {
        "url": "https://github.com/swoole/grpc-client.git",
        "type": "git"
      }
    ],

再執行一次composer require swoole/grpc-client即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants