Download the PHP package akeneo/data-generator-bundle without Composer
On this page you can find all versions of the php package akeneo/data-generator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akeneo/data-generator-bundle
More information about akeneo/data-generator-bundle
Files in akeneo/data-generator-bundle
Package data-generator-bundle
Short Description Akeneo PIM Bundle to generate data in order to test high volume operations
License OSL-3.0
Homepage http://akeneo.com
Informations about the package data-generator-bundle
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
This bundle is compatible with Akeneo PIM 1.3, 1.4, 1.5 & 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 which generates & injects data through the Web API.
Installation
and update your app/AppKernel.php
as follow:
How to use it
The catalog generation is done in two phases:
- generating the catalog fixtures
- generating the product CSV import files
Configuration file examples
Generating base fixtures:
Generating products:
More configuration examples are available in the Resources\examples
directory.
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:
- generate the fixtures
- copy the minimal data set fixtures into a new fixtures set
- copy the generated fixtures into this new set
- install the new fixtures set by changing the
installer_data
configuration - generate the products 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
This version is only compatible with Akeneo PIM with latest builds.
Credits
Thanks @fzaninotto for Faker ! (https://github.com/fzaninotto/Faker)
All versions of data-generator-bundle with dependencies
akeneo/pim-community-dev Version ~1.5.0
doctrine/migrations Version 1.0.*@dev
fzaninotto/faker Version 1.4.0
box/spout Version ^2.4