leko/json-schema-faker

This package is abandoned and no longer maintained. No replacement package was suggested.

Create dummy data with JSON schema

Maintainers

Package info

github.com/Leko/php-json-schema-faker

pkg:composer/leko/json-schema-faker

Statistics

Installs: 24 403

Dependents: 1

Suggesters: 0

Stars: 8

Open Issues: 2

1.0 2018-06-05 14:19 UTC

This package is not auto-updated.

Last update: 2020-01-24 16:17:48 UTC


README

This package is no longer maintained. Please use koriym/php-json-schema-faker instead.

PHP JSON Schema Faker

CircleCI codecov

Create dummy data with JSON schema.
Inspire from json-schema-faker

Getting started

composer require leko/json-schema-faker
<?php

require_once 'PATH/TO/vendor/autoload.php';

use JSONSchemaFaker\Faker;

$schema = json_decode(file_get_contents('./schema.json'));
$dummy = Faker::fake($schema);

Contribution

  • Fork this repo
  • Write your code
  • Create PR to master branch

License

MIT