leko/json-schema-faker

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

Create dummy data with JSON schema

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