PHPackages                             zaxn1234/random-data-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. zaxn1234/random-data-generator

ActiveLibrary[Testing &amp; Quality](/categories/testing)

zaxn1234/random-data-generator
==============================

A package to generate psuedo-random data for testing

v0.0.2(3y ago)04MITPHPPHP &gt;=8.0.0

Since Jun 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zaxn1234/RandomDataGenerator)[ Packagist](https://packagist.org/packages/zaxn1234/random-data-generator)[ RSS](/packages/zaxn1234-random-data-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/ce9b4d35a82638b2b6aa0819686830a83717c739e5fff551d46057c6f662c9d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a61786e313233342f72616e646f6d2d646174612d67656e657261746f72)](https://packagist.org/packages/zaxn1234/random-data-generator)[![Latest Stable Version](https://camo.githubusercontent.com/4ea12ce1e473efcdac4cdf5064ecb31ae32f6a6176def782cb7e3b4934635d9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61786e313233342f72616e646f6d2d646174612d67656e657261746f72)](https://packagist.org/packages/zaxn1234/random-data-generator)[![License](https://camo.githubusercontent.com/b019195afac8a3ab02776548fe2e7544ffa400b5df0af40c916589e44057827f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a61786e313233342f72616e646f6d2d646174612d67656e657261746f72)](https://packagist.org/packages/zaxn1234/random-data-generator)

RandomDataGenerator
===================

[](#randomdatagenerator)

A package to generate psuedo-random data for testing

Installation
------------

[](#installation)

### Download

[](#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

[](#composer)

A simple `composer require zaxn1234/random-data-generator` should do the trick!

Usage
-----

[](#usage)

See `examples` folder. These will be updated alongside development. It's very simple! Just:

- `require_once` the `src/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
-------

[](#license)

This library is open-sourced software licensed under the [MIT license](LICENSE.md).

To-dos
------

[](#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

[](#add-providers)

- Names
- Address
- Phone Numbers
- Date/Time
- Countries
- Internet
- Barcodes &amp;&amp; UUIDs
- Random Text (Lorem ipsum-esque)
- Company Details
- And more...

### Add Locales

[](#add-locales)

- en\_GB (Default locale)
- en\_US
- de\_DE
- es\_ES
- fr\_FR
- it\_IT
- And more...

### Other Features

[](#other-features)

- Optionally Weighted Options
- Validation (IBAN, EAN etc.)
- Uniqueness

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Total

2

Last Release

1413d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b1ab1551ad9030c2f345e54d1114943d357ab9048eb2ec2a11529ce3b65238c?d=identicon)[zaxn1234](/maintainers/zaxn1234)

---

Top Contributors

[![zaxn1234](https://avatars.githubusercontent.com/u/11280207?v=4)](https://github.com/zaxn1234 "zaxn1234 (4 commits)")

### Embed Badge

![Health badge](/badges/zaxn1234-random-data-generator/health.svg)

```
[![Health](https://phpackages.com/badges/zaxn1234-random-data-generator/health.svg)](https://phpackages.com/packages/zaxn1234-random-data-generator)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M677](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M753](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
