卸载composer

#为什么要卸载它

composer安装的时候要求php版本大于5.4版本,windows上用的phpstudy支持多php版本,所以安装composer的时候它自动选择了php5.4结果导致后面使用laravel的时候报错

$ composer require dingo/api:1.0.x@dev
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
  - Installing doctrine/lexer (v1.0.1)
    Downloading: 100%

  - Installing doctrine/annotations (v1.2.7)
    Downloading: 100%

  - Installing league/fractal (0.14.0)
    Downloading: 100%

  - Installing dingo/blueprint (v0.1.6)
    Downloading: 100%

  - Installing symfony/routing (v3.0.9)
    Downloading: 100%

  - Installing illuminate/routing (v5.2.45)
    Downloading: 100%

  - Installing dingo/api (v1.0.0-beta3)
    Downloading: 100%

league/fractal suggests installing pagerfanta/pagerfanta (Pagerfanta Paginator)
league/fractal suggests installing zendframework/zend-paginator (Zend Framework Paginator)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
illuminate/routing suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (0.2.*).)
dingo/api suggests installing lucadegasperi/oauth2-server-laravel (Protect your API with OAuth 2.0.)
dingo/api suggests installing tymon/jwt-auth (Protect your API with JSON Web Tokens)
Writing lock file
Generating autoload files

转载于:https://my.oschina.net/oneboi/blog/806123

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值