coduo/tutu-faker-extension

This extensions integrates fzaninotto/faker with TuTu.

Installs: 20 312

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

1.0.0 2016-11-20 17:19 UTC

This package is auto-updated.

Last update: 2020-03-19 22:04:15 UTC


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 }}