williarin / wordpress-anonymizer

Anonymize a WordPress database without a WordPress installation
MIT License
18 stars 1 forks source link

Allow passing values to faker formatters #5

Open gggeek opened 7 months ago

gggeek commented 7 months ago

fe. the yaml line

password: "password(2, 6)"

could be parsed to retrieve 2 arguments, and inject them into the formatter by making usage of call_user_func_array

gggeek commented 7 months ago

While at it, it would be nice to allow passing in modifiers as well, such as unique or optional