PHPackages                             opendsr/seedfaker - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. opendsr/seedfaker

ActiveLibrary[Localization &amp; i18n](/categories/localization)

opendsr/seedfaker
=================

Deterministic synthetic data generator — 200+ fields, 68 locales

0.4.0-alpha.1(1mo ago)024MITPHPPHP &gt;=8.1

Since Apr 15Pushed 1mo agoCompare

[ Source](https://github.com/opendsr-std/seedfaker-php)[ Packagist](https://packagist.org/packages/opendsr/seedfaker)[ Docs](https://github.com/opendsr-std/seedfaker)[ RSS](/packages/opendsr-seedfaker/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

seedfaker-php
=============

[](#seedfaker-php)

PHP binding for [seedfaker](https://github.com/opendsr-std/seedfaker) — deterministic synthetic data with 200+ fields, 68 locales, same seed = same output.

[CLI](https://github.com/opendsr-std/seedfaker) · [Node.js](https://www.npmjs.com/package/@opendsr/seedfaker) · [Python](https://pypi.org/project/seedfaker/) · [Browser/WASM](https://www.npmjs.com/package/@opendsr/seedfaker-wasm) · [Go](https://pkg.go.dev/github.com/opendsr-std/seedfaker-go) · **PHP** · [Ruby](https://rubygems.org/gems/seedfaker) · [MCP](https://github.com/opendsr-std/seedfaker/blob/main/docs/mcp.md)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1 with [FFI extension](https://www.php.net/manual/en/book.ffi.php)
- `libseedfaker_ffi` shared library (built from Rust source)

> **Pre-1.0:** API may change between minor versions. Pin your version.

Usage
-----

[](#usage)

```
use Seedfaker\SeedFaker;

$f = new SeedFaker(seed: "ci", locale: "en");

$f->field("name");                                        // "Zoe Kumar"
$f->field("phone", e164: true);                            // "+14155551234"

$f->record(["name", "email"], ctx: "strict");             // single record
$f->records(["name", "email"], n: 5, ctx: "strict");      // batch
$f->validate(["name", "email:e164"]);                     // check without generating

$f->records(["name", "email"], n: 100, corrupt: "high");  // corrupted data

SeedFaker::fingerprint();                                 // "sf0-..."
SeedFaker::fields();                                      // all field names
```

Documentation
-------------

[](#documentation)

- [Quick start](https://github.com/opendsr-std/seedfaker/blob/main/docs/quick-start.md)
- [Field reference (200+ fields)](https://github.com/opendsr-std/seedfaker/blob/main/docs/field-reference.md)
- [Library API](https://github.com/opendsr-std/seedfaker/blob/main/docs/library.md)
- [Guides](https://github.com/opendsr-std/seedfaker/blob/main/guides/) — library usage, seed databases, mock APIs, anonymize data, NER training
- [Full documentation](https://github.com/opendsr-std/seedfaker)

---

Disclaimer
----------

[](#disclaimer)

This software generates synthetic data that may resemble real-world identifiers, credentials, or personal information. All output is artificial. See [LICENSE](https://github.com/opendsr-std/seedfaker/blob/main/LICENSE) for the full legal disclaimer.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance92

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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 ~9 days

Total

3

Last Release

37d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e9c01edc840648a78c4c09cf8f37263b6d4c82c47b80b641b304a767a305acc?d=identicon)[edtoken](/maintainers/edtoken)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![edtoken](https://avatars.githubusercontent.com/u/4567083?v=4)](https://github.com/edtoken "edtoken (2 commits)")

---

Tags

fakerfixtureslocaledeterministicpiitest dataFake datamock datasynthetic datadata generator

### Embed Badge

![Health badge](/badges/opendsr-seedfaker/health.svg)

```
[![Health](https://phpackages.com/badges/opendsr-seedfaker/health.svg)](https://phpackages.com/packages/opendsr-seedfaker)
```

###  Alternatives

[fightbulc/moment

Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js

9683.3M12](/packages/fightbulc-moment)[codemix/yii2-localeurls

Automatic locale/language management for URLs.

4071.3M30](/packages/codemix-yii2-localeurls)[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

543656.8k4](/packages/codezero-laravel-localized-routes)[vanderlee/syllable

Text syllable splitting and hyphenation using Frank M. Liang's TeX algorithm.

126462.0k9](/packages/vanderlee-syllable)[laravel-lang/locales

Basic functionality for working with localizations

135.3M18](/packages/laravel-lang-locales)[codezero/browser-locale

Get the most preferred locales from your visitor's browser.

161.9M16](/packages/codezero-browser-locale)

PHPackages © 2026

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