composer 兼容修改