leko / json-schema-faker
Create dummy data with JSON schema
Installs: 24 335
Dependents: 1
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 4
Open Issues: 2
Requires
- fzaninotto/faker: ^1.7
Requires (Dev)
- justinrainbow/json-schema: ~5.2.7
- phpmd/phpmd: ^2.4
- phpunit/phpunit: ^5.4
- squizlabs/php_codesniffer: ^2.6
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
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