1
- ![ license] ( https://img.shields.io/github/license/pattern-lab/plugin-php-faker.svg?maxAge=2592000 )
2
- [ ![ Packagist] ( https://img.shields.io/packagist/v/pattern-lab/plugin-faker.svg?maxAge=2592000 )] ( https://packagist.org/packages/pattern-lab/plugin-faker ) [ ![ Gitter] ( https://img.shields.io/gitter/room/pattern-lab/php.svg?maxAge=2592000 )] ( https://gitter.im/pattern-lab/php )
1
+ ![ license] ( https://img.shields.io/github/license/pattern-lab/plugin-php-faker.svg )
2
+ [ ![ Packagist] ( https://img.shields.io/packagist/v/pattern-lab/plugin-faker.svg )] ( https://packagist.org/packages/pattern-lab/plugin-faker ) [ ![ Gitter] ( https://img.shields.io/gitter/room/pattern-lab/php.svg )] ( https://gitter.im/pattern-lab/php )
3
3
4
4
# Faker Plugin for Pattern Lab
5
5
@@ -39,17 +39,17 @@ To specify a gender you would use:
39
39
40
40
The Faker Plugin supports the following content formatters:
41
41
42
- * Faker\Provider\en_US\Person
43
- * Faker\Provider\en_US\Address
44
- * Faker\Provider\en_US\PhoneNumber
45
- * Faker\Provider\en_US\Company
46
- * Faker\Provider\Lorem
47
- * Faker\Provider\Internet
48
- * Faker\Provider\Color
49
- * Faker\Provider\Payment
50
- * Faker\Provider\DateTime
51
- * Faker\Provider\Image
52
- * Faker\Provider\Miscellaneous
42
+ * ` Faker\Provider\en_US\Person `
43
+ * ` Faker\Provider\en_US\Address `
44
+ * ` Faker\Provider\en_US\PhoneNumber `
45
+ * ` Faker\Provider\en_US\Company `
46
+ * ` Faker\Provider\Lorem `
47
+ * ` Faker\Provider\Internet `
48
+ * ` Faker\Provider\Color `
49
+ * ` Faker\Provider\Payment `
50
+ * ` Faker\Provider\DateTime `
51
+ * ` Faker\Provider\Image `
52
+ * ` Faker\Provider\Miscellaneous `
53
53
54
54
See the official repository for a [ list of options available to each formatter] ( https://github.com/fzaninotto/Faker#formatters ) .
55
55
@@ -59,14 +59,14 @@ The content produced by Faker can be localized based on a Faker locale. If the F
59
59
60
60
To update your Faker locale you can either directly edit ` ./config/config.yml ` or use the command line option:
61
61
62
- php core/console --config --set faker.locale=[locale]
62
+ php core/console --config --set plugins. faker.locale=[locale]
63
63
64
64
For example:
65
65
66
- php core/console --config --set faker.locale=fr_FR
66
+ php core/console --config --set plugins. faker.locale=fr_FR
67
67
68
68
## Disabling the Plugin
69
69
70
70
To disable the Faker plugin you can either directly edit ` ./config/config.yml ` or use the command line option:
71
71
72
- php core/console --config --set faker.on =false
72
+ php core/console --config --set plugins. faker.enabled =false
0 commit comments