lumen8 通过composer安装后,str_random()助手函数不能正常使用生成lumen的相关32位随机字符串。
最后查到了,通过
use Illuminate\Support\Str;//引用命名空间Str::random(10);//调用
即可。
推荐