计算机学习

您现在的位置是:首页 > php > 正文

php

composer安装particle/validator

hhb2022-04-08php74
下载安装composerhttps://getcomposer.org/download/安装particle/validatorcomposerrequireparticle/validato

下载安装composer

https://getcomposer.org/download/

安装particle/validator

composer require particle/validator

问题

Could not find package particle/validator. It was however found via repository search, which indicates a consistenc
  y issue with the repository
Could not find a matching version of package particle/validator. Check the package spelling, your version constrain
  t and that the package is available in a stability which matches your minimum-stability (stable).

解决:更改镜像位置

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/    #更改为阿里云镜像

再执行

composer require particle/validator

发表评论

评论列表

  • 这篇文章还没有收到评论,赶紧来抢沙发吧~