composer packagist License is not a valid SPDX license&n

2018-02-06
License “Apache” is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license.
If the software is closed-source, you may use “proprietary” as license.</p>

究其原因,是开源项目的composer.json的license格式不对了
刚才摸不到头脑跑去问了问大牛
把apache字段换成apache-2.0即可