PHPackages                             alanablett/twig-faker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. alanablett/twig-faker

ActiveLibrary[Templating &amp; Views](/categories/templating)

alanablett/twig-faker
=====================

Integration of PHP faker library with the twig templating system.

1.1.2(10y ago)171.2k3MITPHP

Since Jul 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/alanablett/twig-faker)[ Packagist](https://packagist.org/packages/alanablett/twig-faker)[ RSS](/packages/alanablett-twig-faker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

[![Build Status](https://camo.githubusercontent.com/270ae23e678c78f7a9f4afc0093958429e436feb02117bcc349f88760b2832e9/68747470733a2f2f7472617669732d63692e6f72672f616c616e61626c6574742f747769672d66616b65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alanablett/twig-faker)[![Code Coverage](https://camo.githubusercontent.com/8330437fdfa267863fbfab6d6a6ca8429edbb7ba47bc5cd038ecf1e006ffb124/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c616e61626c6574742f747769672d66616b65722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alanablett/twig-faker/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/29af0987b9bdbbbd6efd944d05a4b0acff559cd6edf3bd1a47a1e05c18c258ad/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c616e61626c6574742f747769672d66616b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alanablett/twig-faker/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/4395594129ab5cd14a675c1e86e01d1d04b0274060f589c0e7c9b4d0537e121e/68747470733a2f2f706f7365722e707567782e6f72672f616c616e61626c6574742f747769672d66616b65722f762f737461626c65)](https://packagist.org/packages/alanablett/twig-faker) [![Total Downloads](https://camo.githubusercontent.com/7cc17a453941d07dd9885bc92028d08f6a3d463ae7a38657b5c258d89c04f3bf/68747470733a2f2f706f7365722e707567782e6f72672f616c616e61626c6574742f747769672d66616b65722f646f776e6c6f616473)](https://packagist.org/packages/alanablett/twig-faker) [![Latest Unstable Version](https://camo.githubusercontent.com/69c74038ae2a60cd656009d32980213733b13aa470fdb8776a6515ef82099678/68747470733a2f2f706f7365722e707567782e6f72672f616c616e61626c6574742f747769672d66616b65722f762f756e737461626c65)](https://packagist.org/packages/alanablett/twig-faker) [![License](https://camo.githubusercontent.com/d06879639f105a7c22ecf4ee3e493bce169ffba6870c026feb7f1c950c5075e1/68747470733a2f2f706f7365722e707567782e6f72672f616c616e61626c6574742f747769672d66616b65722f6c6963656e7365)](https://packagist.org/packages/alanablett/twig-faker)

TwigFaker
=========

[](#twigfaker)

An extension to add the [faker](https://github.com/fzaninotto/Faker) library into twig templates, providing a fast efficient way to create dummy data within your templates. Here's a quick example:

Configure your fake data type `factories/person.php`

```
