Download the PHP package zaxn1234/random-data-generator without Composer
On this page you can find all versions of the php package zaxn1234/random-data-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zaxn1234/random-data-generator
More information about zaxn1234/random-data-generator
Files in zaxn1234/random-data-generator
Download zaxn1234/random-data-generator
More information about zaxn1234/random-data-generator
Files in zaxn1234/random-data-generator
Vendor zaxn1234
Package random-data-generator
Short Description A package to generate psuedo-random data for testing
License MIT
Package random-data-generator
Short Description A package to generate psuedo-random data for testing
License MIT
Please rate this library. Is it a good library?
Informations about the package random-data-generator
RandomDataGenerator
A package to generate psuedo-random data for testing
Installation
Download
- Download a ZIP or clone the repo
- Make sure to have
require_once path/to/src/autoload.php
(edited as needed) to the start of your PHP script(s).
Composer
A simple composer require zaxn1234/random-data-generator
should do the trick!
Usage
See examples
folder. These will be updated alongside development.
It's very simple! Just:
require_once
thesrc/autoload.php
file in your script(s)use RandomDataGenerator\Factory;
- Create a factory with
$factory = Factory::create();
- Grab whatever data you need, such as
$factory->lastName;
License
This library is open-sourced software licensed under the MIT license.
To-dos
Since we're early in development, this list is a vague cross-section of the things I'd like to add to this library.
Add Providers
- [x] Names
- [x] Address
- [ ] Phone Numbers
- [ ] Date/Time
- [ ] Countries
- [ ] Internet
- [ ] Barcodes && UUIDs
- [ ] Random Text (Lorem ipsum-esque)
- [ ] Company Details
- [ ] And more...
Add Locales
- [x] en_GB (Default locale)
- [ ] en_US
- [ ] de_DE
- [ ] es_ES
- [ ] fr_FR
- [ ] it_IT
- [ ] And more...
Other Features
- [ ] Optionally Weighted Options
- [ ] Validation (IBAN, EAN etc.)
- [ ] Uniqueness
All versions of random-data-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.0
The package zaxn1234/random-data-generator contains the following files
Loading the files please wait ....