PHPackages                             koriym/json-schema-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. koriym/json-schema-faker

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

koriym/json-schema-faker
========================

Generates fake JSON with JSON schema

0.3.2(3mo ago)7465.7k↑16.6%72MITPHPPHP ^7.4 || ^8.0CI passing

Since Apr 29Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/koriym/php-json-schema-faker)[ Packagist](https://packagist.org/packages/koriym/json-schema-faker)[ RSS](/packages/koriym-json-schema-faker/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (8)Versions (12)Used By (2)

PHP JSON Schema Faker
=====================

[](#php-json-schema-faker)

[![Coding Standards](https://github.com/koriym/php-json-schema-faker/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/koriym/php-json-schema-faker/actions/workflows/coding-standards.yml)[![Coding Standards](https://github.com/koriym/php-json-schema-faker/workflows/Coding%20Standards/badge.svg)](https://github.com/koriym/php-json-schema-faker/workflows/Coding%20Standards/badge.svg)

Generates fake JSON with JSON schema.

- `$ref` supported
- CLI command available

forked from [leko/json-schema-faker](https://github.com/Leko/php-json-schema-faker) (deprecated)

Getting started
---------------

[](#getting-started)

```
composer require koriym/json-schema-faker
```

### Usage

[](#usage)

```
$schema = json_decode(file_get_contents(__DIR__ . '/schema.json'));
$fake = (new Faker)->generate($schema);
```

or

```
// pass SplFileInfo to support local $ref schema file
$fake = (new Faker)->generate(new SplFileInfo(__DIR__ . '/schema.json'));
```

### Command

[](#command)

```
// convert all json schema jsons in the directory
./vendor/bin/fakejsons {$soruceDir} {$distDir}

```

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance79

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 70.4% 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 ~358 days

Recently: every ~471 days

Total

8

Last Release

113d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1.0

0.3.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/db4fc75ffc631168d0d7143b6f2c24b1534dfb921212bd851c026c5cbbb1344d?d=identicon)[koriym](/maintainers/koriym)

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (119 commits)")[![Leko](https://avatars.githubusercontent.com/u/1424963?v=4)](https://github.com/Leko "Leko (46 commits)")[![jingu](https://avatars.githubusercontent.com/u/892913?v=4)](https://github.com/jingu "jingu (3 commits)")[![SvenRtbg](https://avatars.githubusercontent.com/u/416600?v=4)](https://github.com/SvenRtbg "SvenRtbg (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/koriym-json-schema-faker/health.svg)

```
[![Health](https://phpackages.com/badges/koriym-json-schema-faker/health.svg)](https://phpackages.com/packages/koriym-json-schema-faker)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.4k](/packages/blair2004-nexopos)[directorytree/dummy

439.9k](/packages/directorytree-dummy)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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