coduo/tutu-faker-extension
Composer 安装命令:
composer create-project coduo/tutu-faker-extension
包简介
This extensions integrates fzaninotto/faker with TuTu.
README 文档
README
This extensions integrates fzaninotto/faker with TuTu.
Update composer
$ composer require coduo/tutu-faker-extension
Enable extension in TuTu configuration
# config/config.yml
extensions:
Coduo\TuTu\Extension\Faker: ~
From now you should be able to access faker object in twig templates.
Example:
hello_world:
path: /hello/world
content: |
Hello {{ faker.firstName }}
统计信息
- 总下载量: 20.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-07-12