使用了validate 验证,提示错误默认是 英文的。将en 改为zh-CN 后
运行 composer require "overtrue/laravel-lang:~3.0"时候出错。
---------------------------------------
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
---------------------------------------
网上说更新composer 好像没有用
sudo composer self-update 更新composer
暂时没有解决。先放放。哪位解决了,留个言也行。
文章来源:刘俊涛的博客