PHPackages                             lkovace18/entity-factory-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. lkovace18/entity-factory-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

lkovace18/entity-factory-bundle
===============================

Entity factory bundle for Symfony 4

v1.1.0(7y ago)03.8k2MITPHPPHP &gt;= 7.1

Since Oct 10Pushed 7y agoCompare

[ Source](https://github.com/lkovace18/entity-factory)[ Packagist](https://packagist.org/packages/lkovace18/entity-factory-bundle)[ RSS](/packages/lkovace18-entity-factory-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (15)Versions (5)Used By (0)

Symfony Entity factory
======================

[](#symfony-entity-factory)

Usage
=====

[](#usage)

How to use
----------

[](#how-to-use)

### Create Entity

[](#create-entity)

```
$factory->create(User::class);
```

### Create multiple entities

[](#create-multiple-entities)

```
$factory->times(10)->create(Beer::class);

/* This will generate 10 persisted beers with fake values */
```

### Create Entity and override some data

[](#create-entity-and-override-some-data)

```
$user = $factory->create(
    User::class,
    [
        'username' => 'BadassAdmin'
        'active'   => true
    ]
);
```

### Create new instance

[](#create-new-instance)

```
$post = $factory->make(User::class)
```

### Get fake values for an entity

[](#get-fake-values-for-an-entity)

Maybe you don't want an instance of the entity, but need some fake data to create you entity object. The `values` method will return an array of fake values for an entity.

```
$productData = $factory->values(User::class);
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~178 days

Total

3

Last Release

2828d ago

Major Versions

v0.0.1 → v1.0.02018-05-06

PHP version history (2 changes)v0.0.1PHP &gt;=5.6.27

v1.0.0PHP &gt;= 7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16575005?v=4)[Luka Kovačević](/maintainers/lkovace18)[@lkovace18](https://github.com/lkovace18)

---

Top Contributors

[![lkovace18](https://avatars.githubusercontent.com/u/16575005?v=4)](https://github.com/lkovace18 "lkovace18 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lkovace18-entity-factory-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lkovace18-entity-factory-bundle/health.svg)](https://phpackages.com/packages/lkovace18-entity-factory-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M464](/packages/pimcore-pimcore)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
