PHPackages                             akeneo-labs/data-generator-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. akeneo-labs/data-generator-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

akeneo-labs/data-generator-bundle
=================================

Akeneo PIM Bundle to generate data in order to test high volume operations

1.5.0(10y ago)112.1k2[2 PRs](https://github.com/akeneo-labs/DataGeneratorBundle/pulls)OSL-3.0PHPPHP &gt;=5.4.4

Since Oct 29Pushed 7y ago11 watchersCompare

[ Source](https://github.com/akeneo-labs/DataGeneratorBundle)[ Packagist](https://packagist.org/packages/akeneo-labs/data-generator-bundle)[ Docs](http://akeneo.com)[ RSS](/packages/akeneo-labs-data-generator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (16)Used By (0)

DataGeneratorBundle
===================

[](#datageneratorbundle)

[![Build Status](https://camo.githubusercontent.com/d3c031cd306563a6fcdfe82bbca58577124d8fc3a22e631c8674bfc4c025bd73/68747470733a2f2f7472617669732d63692e6f72672f616b656e656f2d6c6162732f4461746147656e657261746f7242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/akeneo-labs/DataGeneratorBundle)

This bundle generates file data in the native Akeneo CSV format.

It's able to generate products and attributes information (including families and attributes options).

So you need a PIM system with channels, locales and currency already setup.

From that, this bundle will generate valid product and attribute data.

Compatibility
-------------

[](#compatibility)

This bundle is compatible with Akeneo PIM 1.3, 1.4, 1.5 &amp; 1.6.

As Akeneo PIM 1.7 exposes a Web API, this Web API can be used to inject data without having to install a bundle in it.

Here is an example of a [simple command line tool](https://github.com/nidup/akeneo-data-generator) which generates &amp; injects data through the Web API.

Installation
------------

[](#installation)

```
 $ composer.phar require akeneo-labs/data-generator-bundle ~0.3
```

and update your `app/AppKernel.php` as follow:

```
    $bundles[] = new Pim\Bundle\DataGeneratorBundle\PimDataGeneratorBundle();
```

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

[](#how-to-use-it)

The catalog generation is done in two phases:

1. generating the catalog fixtures
2. generating the product CSV import files

```
Usage:
 pim:generate:fixtures
 pim:generate:products-file

Arguments:
 configuration-file    YAML configuration file
```

Configuration file examples
---------------------------

[](#configuration-file-examples)

Generating base fixtures:

```
data_generator:
    output_dir: /tmp/fixtures/
    entities:
        attributes:
            count: 200
            identifier_attribute: "sku"
        families:
            count: 30
            attributes_count: 60
            identifier_attribute: "sku"
            label_attribute: "label"
```

Generating products:

```
data_generator:
    output_dir: /tmp/
    entities:
        products:
            count: 1000
            filled_attributes_count: 50
            filled_attributes_standard_deviation: 10
            mandatory_attributes: [sku, name] # properties that will always be filled in with a random value
            delimiter: ,
            force_values: { manufacturer: 'FactoryInc', brand: 'SuperProd' } # properties that if they are filled in, will be filled in the given value
            start_index: 0
            categories_count: 10
```

More configuration examples are available in the `Resources\examples` directory.

Warning
-------

[](#warning)

Products data cannot be generated at the same time as the base fixtures (families, categories, attributes, etc...). Indeed, to generate products data, we use the objects available in the PIM (families, attributes, etc).

So if you need to generate a full catalog, you need to:

1. generate the fixtures
2. copy the minimal data set fixtures into a new fixtures set
3. copy the generated fixtures into this new set
4. install the new fixtures set by changing the `installer_data` configuration
5. generate the products data

How to use the generated attributes and families data
-----------------------------------------------------

[](#how-to-use-the-generated-attributes-and-families-data)

The generated files are meant to be used in the fixtures. Only the generated products CSV file must be imported by the import profiles.

Compatibility
-------------

[](#compatibility-1)

This version is only compatible with Akeneo PIM with latest builds.

Credits
-------

[](#credits)

Thanks @fzaninotto for Faker ! ()

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~128 days

Total

4

Last Release

3715d ago

Major Versions

0.2 → v1.4.02016-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/307250bdb6545909b128061d967bd724d7174c4ad775390585ac1927c6110747?d=identicon)[akeneo](/maintainers/akeneo)

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

---

Top Contributors

[![BitOne](https://avatars.githubusercontent.com/u/2151567?v=4)](https://github.com/BitOne "BitOne (65 commits)")[![pierallard](https://avatars.githubusercontent.com/u/1590933?v=4)](https://github.com/pierallard "pierallard (54 commits)")[![jjanvier](https://avatars.githubusercontent.com/u/3691804?v=4)](https://github.com/jjanvier "jjanvier (22 commits)")[![momoss](https://avatars.githubusercontent.com/u/17565301?v=4)](https://github.com/momoss "momoss (17 commits)")[![jmleroux](https://avatars.githubusercontent.com/u/1516770?v=4)](https://github.com/jmleroux "jmleroux (9 commits)")[![arnolanglade](https://avatars.githubusercontent.com/u/3585922?v=4)](https://github.com/arnolanglade "arnolanglade (8 commits)")[![damien-carcel](https://avatars.githubusercontent.com/u/5039018?v=4)](https://github.com/damien-carcel "damien-carcel (6 commits)")[![nidup](https://avatars.githubusercontent.com/u/2104359?v=4)](https://github.com/nidup "nidup (3 commits)")[![SamirBoulil](https://avatars.githubusercontent.com/u/1826473?v=4)](https://github.com/SamirBoulil "SamirBoulil (2 commits)")[![CharlyP](https://avatars.githubusercontent.com/u/713157?v=4)](https://github.com/CharlyP "CharlyP (2 commits)")[![MarieMinasyan](https://avatars.githubusercontent.com/u/1398717?v=4)](https://github.com/MarieMinasyan "MarieMinasyan (2 commits)")[![grena](https://avatars.githubusercontent.com/u/301169?v=4)](https://github.com/grena "grena (1 commits)")[![fitn](https://avatars.githubusercontent.com/u/2131005?v=4)](https://github.com/fitn "fitn (1 commits)")[![norfil](https://avatars.githubusercontent.com/u/199117?v=4)](https://github.com/norfil "norfil (1 commits)")[![ClementGautier](https://avatars.githubusercontent.com/u/660091?v=4)](https://github.com/ClementGautier "ClementGautier (1 commits)")[![action-simon](https://avatars.githubusercontent.com/u/2743242?v=4)](https://github.com/action-simon "action-simon (1 commits)")

---

Tags

datacsvecommercePIMakeneoe-commerceperformances

### Embed Badge

![Health badge](/badges/akeneo-labs-data-generator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/akeneo-labs-data-generator-bundle/health.svg)](https://phpackages.com/packages/akeneo-labs-data-generator-bundle)
```

###  Alternatives

[sonata-project/exporter

Lightweight Exporter library

44920.9M35](/packages/sonata-project-exporter)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)[akeneo/excel-init-bundle

Akeneo PIM Excel initialization bundle

2218.9k](/packages/akeneo-excel-init-bundle)[soapbox/laravel-formatter

A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others.

2501.1M12](/packages/soapbox-laravel-formatter)[akeneo/magento-connector-bundle

Akeneo PIM bundle to export to Magento platform

582.2k](/packages/akeneo-magento-connector-bundle)[akeneo-labs/custom-entity-bundle

Akeneo PIM Custom entity bundle

52102.6k7](/packages/akeneo-labs-custom-entity-bundle)

PHPackages © 2026

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