tiny-factory
A library for preparing test data. Inspired by factory_girl, and Laravel Factory
Usage
// Setting up
Factory::initialize(__DIR__.'/fixtures.php', function ($tableName, $definition) {
// Database insertion...
});
// Creation a test data
Factory::create('users');
Example at here
License
under the MIT license