PHPackages                             gamma/fixtures-generator - 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. gamma/fixtures-generator

ActiveBundle

gamma/fixtures-generator
========================

Symfony2 fixtures generator

v1.2.0.x-dev(9y ago)14.5k1PHPPHP &gt;=5.3

Since Oct 14Pushed 7y ago4 watchersCompare

[ Source](https://github.com/smart-gamma/fixtures-generator)[ Packagist](https://packagist.org/packages/gamma/fixtures-generator)[ RSS](/packages/gamma-fixtures-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Smart Gamma Fixtures generator Symfony bundle
=============================================

[](#smart-gamma-fixtures-generator-symfony-bundle)

Allow speed up fixtures creation by generating fixtures classes from project's database

Install
-------

[](#install)

```
composer require --dev gamma/fixtures-generator

```

Add to AppKernel.php to dev section:

```
$bundles[] = new Gamma\FixturesGeneratorBundle\GammaFixturesGeneratorBundle();

```

\##Configuration:

add to app/config.yml

gamma\_fixtures\_generator:

fixture\_references\_file\_name: /var/fixtureReferences.txt

Fixtures generator usage:
-------------------------

[](#fixtures-generator-usage)

```
app/console gamma:fixtures:generate "\Gamma\Bundle\Entity\Item" - generate all entities from table
app/console gamma:fixtures:generate "\Gamma\Bundle\Entity\Item" --id="1,2,3" - generate  entities with ids 1,2,3 from table
app/console gamma:fixtures:generate "\Gamma\Bundle\Entity\Item" --id="1,2,3" --force-add-reference - generate entities with ids 1,2,3 from table and add txt reference

```

Notes
-----

[](#notes)

1.Despite of the autoincrement generator is reset if you use schema recreate before fixture loading, better stick to defined ids via direct setter

Add for each fixture class:

```
        $metadata = $manager->getClassMetaData('\Gamma\Bundle\Entity\Item');
        $metadata->setIdGeneratorType(\Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_NONE);

```

2. Relations ManyToMany should be created additionally manually

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

Unknown

Total

1

Last Release

3494d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dbcbebc9a7f7e97d82e2c6283d888741a2d08983c5bac71bca36ebe677b223c?d=identicon)[EvgeniyKuzmin](/maintainers/EvgeniyKuzmin)

---

Top Contributors

[![Evgenas](https://avatars.githubusercontent.com/u/2884742?v=4)](https://github.com/Evgenas "Evgenas (12 commits)")[![smartgammadev](https://avatars.githubusercontent.com/u/16098610?v=4)](https://github.com/smartgammadev "smartgammadev (1 commits)")

---

Tags

fixture-generatorgenerating-fixturesphp

### Embed Badge

![Health badge](/badges/gamma-fixtures-generator/health.svg)

```
[![Health](https://phpackages.com/badges/gamma-fixtures-generator/health.svg)](https://phpackages.com/packages/gamma-fixtures-generator)
```

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[rikudou/psr6-dynamo-db-bundle

PSR-6 and PSR-16 cache implementation using AWS DynamoDB for Symfony

2077.8k](/packages/rikudou-psr6-dynamo-db-bundle)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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