参考:http://www.blogdaren.com/post-2536.html

问题背景:

  1. # composer require xxx/yyy

结果报错:

  1. [InvalidArgumentException]
  2. Could not find a version of package xxx/yyy matching your minimum-stability (stable).Require it with an explicit version constrai
  3. nt allowing its desired stability.

解决方案:

1、新建 composer.json

2、新增如下内容:

  1. {
  2. "require":{
  3. "xxx/yyy":"dev-master"
  4. }
  5. }
3、执行命令:
  1. # composer install

 

相关文章:

  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2021-09-22
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-10-30
  • 2021-06-08
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案