unicate/swindler

Swindler - Create fake test data. Simple & extensible.

dev-master 2022-09-13 19:16 UTC

This package is auto-updated.

Last update: 2024-04-13 22:40:38 UTC


README

Swindler creates fake test data. Simple & extensible.

What is it?

Swindler has a lightweight core that consists only of three parts:

  • Randomizer: A class, that of course, generates random values.
  • RandomBuilder: The RandomBuilder uses the Randomizer to easily create random patterns, like phone numbers, etc.
  • Plugin Mechanism: Plugins can be used to extend the functionality or add data providers.

Randomizer

  • __construct
  • getInt
  • getString
  • getText
  • getArrayEntry
  • getDateTime

RandomBuilder

Plugins

WORK IN PROGRESS!

Installation

Use composer:

composer require unicate/swindler

Usage