PHPackages                             alexeyyashin/seed-faker - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alexeyyashin/seed-faker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alexeyyashin/seed-faker
=======================

Seeded fake data generator

v1.0(1y ago)0141MITPHPPHP &gt;=8.0

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alexeyyashin/seed-faker)[ Packagist](https://packagist.org/packages/alexeyyashin/seed-faker)[ RSS](/packages/alexeyyashin-seed-faker/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (1)

seed-faker
==========

[](#seed-faker)

`seed-faker` is a PHP library designed to generate random data for testing and development purposes. It provides a variety of methods to create random integers, floats, booleans, UUIDs, words, sentences, paragraphs, and even images. This library is particularly useful for populating databases with sample data or for testing applications that require random input.

Features
--------

[](#features)

- Generate random values:
    - integer
    - float
    - boolean
- Generate UUIDs.
- Retrieve random words from a predefined vocabulary.
- Construct random sentences and paragraphs with customizable sentence lengths.
- Generate placeholder images with random colors and shapes.
- Support for weighted random selection through chance-based methods.

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

[](#installation)

You can install the package via Composer:

```
composer require alexeyyashin/seed-faker
```

Usage
-----

[](#usage)

Here's a quick example of how to use the `SeedFaker` class:

```
require_once 'vendor/autoload.php';

use AlexeyYashin\SeedFaker\SeedFaker;

$faker = new SeedFaker();

// Generate a random integer
$randomInteger = $faker->integer(1, 100);
echo "Random Integer: $randomInteger\n";

// Generate a random sentence
$randomSentence = $faker->sentence();
echo "Random Sentence: $randomSentence\n";
```

For more detailed usage instructions, please refer to the `example/demo.php`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

414d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10206f77ccff237e4f6173d09004c86e5c8276845c023dde6b5c34797f79d203?d=identicon)[alexeyyashin](/maintainers/alexeyyashin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/alexeyyashin-seed-faker/health.svg)

```
[![Health](https://phpackages.com/badges/alexeyyashin-seed-faker/health.svg)](https://phpackages.com/packages/alexeyyashin-seed-faker)
```

###  Alternatives

[php-parallel-lint/php-var-dump-check

Find forgotten variables dump in PHP source code.

211.6M31](/packages/php-parallel-lint-php-var-dump-check)[sop/crypto-types

A PHP library of various ASN.1 types for cryptographic applications.

121.4M35](/packages/sop-crypto-types)[dragon-code/laravel-route-names

Automatic generation of route names

259.2k1](/packages/dragon-code-laravel-route-names)

PHPackages © 2026

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