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. lkovace18/entity-factory-bundle

ActiveSymfony-bundle

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 1mo 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 64% 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

2776d 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://www.gravatar.com/avatar/7a6ee76c59097c8e00b222a823cc22f1491cf90c41234d82f6bea3ae53d46b76?d=identicon)[lkovace18](/maintainers/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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

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

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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