lakremon / total-faker
total-faker is PHP program complex to take realistic data about peoples, Companies etc. to test your application.
dev-master
2018-08-12 16:48 UTC
Requires
- php: ^7.2.0
Requires (Dev)
- phpunit/phpunit: ^7.0.0
This package is not auto-updated.
Last update: 2024-10-07 17:19:14 UTC
README
Quick start
To use Total Faker to fill your database you should install it via composer.
$ composer require lakremon/total-faker
or
$ php composer.pher require lakremon/total-faker
Depending on what framework you use, you can use different adapters for different frameworks to implement Total Faker.
Yii2
Laravel
Symfony 4
Zend Framework 3
Without framework usage
Create index.php
in the root of your application with content.
<?php require("vendor/autoload.php"); $totalFaker = \TotalFaker\TotalFaker::getWorld();
Usage
Then you can use Total Faker to model your data. First of all you should generate new world.
Plan:
- City
- Street
- Building
- Person
- Company
- University
- School
- Phone
- Computer
- Car