coduo / tutu-faker-extension
This extensions integrates fzaninotto/faker with TuTu.
Installs: 20 684
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.0
- fzaninotto/faker: ~1.0
- twig/twig: 1.*
Requires (Dev)
- behat/behat: 3.0.*
- behat/mink-extension: ~2.0
- behat/mink-goutte-driver: ~1.0
- bossa/phpspec2-expect: ~1.0
- coduo/tutu: ~1.0
This package is auto-updated.
Last update: 2024-12-20 08:30:32 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 }}