coduo/tutu-faker-extension

This extensions integrates fzaninotto/faker with TuTu.

Installs: 20 649

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:project

1.0.0 2016-11-20 17:19 UTC

This package is auto-updated.

Last update: 2024-03-20 07:01:33 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 }}