Bnder is inspired by the Laravel factories, it is meant to be a quick and clean way to create and persist and your Doctrine entities. It relies heavily on reflection class providing a fluent api.
composer require bnder/bnder
$properties = [
'user' => new User(),
'email' => 'sample@mail.local',
];
Bnder::registerFactory(Factory::create(SampleEntity::class, $properties));
// This will create an array of 3
$entities = Bnder::load(SampleEntity::class)->create(['email' => 'demo@mail.local'], 3);