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