一、composer依赖网站地址:https://packagist.org/
二、在搜索框输入:
laravel-lang
三、点击进入,根据自己的版本进行安装:
composer require caouecs/laravel-lang:~3.0
四、语言包位于vendor/caouecs/laravel-lang/src目录下,复制需要的语言包到resources/lang目录
五、修改配置文件app.php
'locale' => 'zh-CN',
laravel-lang
composer require caouecs/laravel-lang:~3.0
'locale' => 'zh-CN',