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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package data-generator-bundle

DataGeneratorBundle

Build Status

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:

  1. generating the catalog fixtures
  2. 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:

  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

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

PHP Build Version
Package Version
Requires php Version >=5.4.4
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package akeneo/data-generator-bundle contains the following files

Loading the files please wait ....