Faker | |
Faker is a tool to generate fake data. https://github.com/FakerPHP/Faker support was added to Tiki18 as one of the Packages, allowing to generate fake tracker items to facilitate testing tracker or Search and List from Unified Index performance, for instance. |
How to use it | |
You can use it through the Console command line script. |
Syntax | |
Copy to clipboard
Added comments for Tiki 20: Copy to clipboard
|
Example | |
Command to create 5 new items, with random tracker item status (open, pending or closed), on tracker 1: Copy to clipboard
Copy to clipboard
|
Define Formatters in Tracker Fields | |
New in Tiki 22 and introduced in 07d46e8a You can now add defined fakers for each field, so you can instruct it to use names, dates, number ranges and so on as described here. |
Examples | |
Note, the faker formatter goes in a Tiki Comment in the field description so if you enable the wiki parsing it won't show to users. |