/wgfaker

A XOOPS module for generation of faked test data and save them as yaml file

Primary LanguagePHP

alt XOOPS CMS

alt XOOPS CMS

wgFaker

A XOOPS module for generation of faked test data.

Features:

  • Read tables and fields
  • Based on field type the module makes a pre-selection of possible datatype (= output type)
  • You can change the datatype in order to get the data you wish
    • examples of datatypes:
      • autoincrement of table
      • random integer
      • random integer within defined range
      • running integer, start with 1
      • fixed defined number
      • random float
      • random text
      • fixed defined text
      • your defined text with running number
      • random yes/no
      • random firstname
      • random lastname
      • random email
      • random date
      • random date within defined range
      • current date
      • random uid of XOOPS users
      • random IP4
      • random IP6
      • random phone number
      • random country code
      • random id of selected table
      • random color
      • random uuid
      • random language
      • random value of custom list
  • Generate test data according the (pre)settings
  • View test data as table or yaml
  • Copy test data into 'modules/{modulename}/testdata/{language}' and load them in module
  • Update date fields directly in the tables

Support

If you like the wgFaker module and thanks to the long process for giving the opportunity to the new module to be created in a moment, consider making a donation to Xoops.org

wgFaker version 1.x

Build Status Jenkins coverage Software License Quality Score Gem Latest Version

Require:

  • XOOPS 2.5.11;
  • XOOPS Admin 1.2;
  • PHP 7.4 or higher;
  • MySQL 5.5; -> Minimum Recommended Using InnoDB Version 5.1 or Later

Info

wgFaker is ready for PHP 8.0

Tutorial:

For detailed tutorial see help section in module.

Translation:

Translations on Transifex

Please visit us on https://xoops.org

Current and upcoming "next generation" versions of XOOPS CMS are being crafted on GitHub at: https://github.com/XOOPS