2017年11月3日

laravel5中使用faker生成模拟数据

摘要: 环境:laravel5.1 第一步:安装扩展包网址:https://github.com/fzaninotto/Faker使用composer安装,命令如下所示composer require fzaninotto/faker 第二步:编辑laravel中的模型工厂 第三步:编辑User模型这一步也 阅读全文

posted @ 2017-11-03 14:23 iaknehc 阅读(2227) 评论(0) 推荐(0) 编辑

导航