Deprecation warning: Your package name base is invalid,
it should have a vendor name, a forward slash, and a package name.
The vendor and package name can be words separated by -, . or _.
The complete name should match "a-z0-9/a-z0-9".
Make sure you fix this as Composer 2.0 will error.
原因
其中name属性为base,不符合composer的命名规范(一个vendor名+ / +包名)组成,全名必须和“a-z0-9/a-z0-9”正则匹配,在Composer2.0里将会属于错误。
解决
将包名改为符合规则的形式1
{
“name”: “somename/base”,
“description”: “System with Yaf.”,
“license”: “BSD-3-Clause”,
“type”: “project”,
“keywords”: [
“base”
]
…
}