2017 © Pedro Peláez
 

symfony-bundle custom-entity-bundle

Akeneo PIM Custom entity bundle

image

akeneo/custom-entity-bundle

Akeneo PIM Custom entity bundle

  • Thursday, August 27, 2015
  • by Akeneo
  • Repository
  • 19 Watchers
  • 5 Stars
  • 2,691 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

CustomEntityBundle

Scrutinizer Code Quality Build Status, (*1)

Facilitates the creation of PIM reference data and related views in the PIM., (*2)

For more information, please see http://docs.akeneo.com/, (*3)

Requirements

CustomEntityBundle Akeneo PIM Community Edition
v4.0.* v4.0.*
v3.0.* v3.0.*
v2.4.* v2.3.*
v2.3.* v2.2.*
v2.2.* v2.1.*
v2.1.* v2.1.*
v2.0.* v2.0.*
v1.10.* v1.7.*

Installation

You can install this bundle with composer (see requirements section):, (*4)

    php composer.phar require "akeneo-labs/custom-entity-bundle":"4.0.*"

Then add the following lines at the end of your config/routes/routes.yml :, (*5)

    pim_customentity:
        prefix: /reference-data
        resource: "@PimCustomEntityBundle/Resources/config/routing.yml"

and enable the bundle in the config/bundles.php file:, (*6)

    return [
        // ...
        Pim\Bundle\CustomEntityBundle\PimCustomEntityBundle::class => ['all' => true]
    ];

If your installation is already set up, you have to run the following command in order to add the quick export job:, (*7)

    php bin/console akeneo:batch:create-job "Akeneo Mass Edit Connector" "csv_reference_data_quick_export" "quick_export" "csv_reference_data_quick_export" '{"delimiter": ";", "enclosure": "\"", "withHeader": true, "filePath": "/tmp/reference_data_quick_export.csv"}'

Documentation

The reference data documentation can be found in the PIM documentation., (*8)

Detailled information can be found in the bundle documentation., (*9)

Run the Tests

Unit tests

    $ composer install
    $ vendor/bin/phpspec run

Code style

    $ composer install
    $ vendor/bin/php-cs-fixer fix -v --diff --config .php_cs.php

PHPUnit

  • Install an Akeneo PIM with the CustomEntityBundle
  • Copy Tests/Resources/phpunit.xml to project root
  • Copy Tests/Resources/.env.test to project root, and edit accordingly to your config
  • Copy Tests/Resources/bundles.php or Tests/Resources/bundles_ee.php (depending on your PIM version) content in the config/bundles.php file

Then:, (*10)

    $ php bin/console cache:warmup --env=test

    If you're on EE Edition :
    $ php bin/console pim:installer:db --env=test --catalog vendor/akeneo/pim-enterprise-dev/src/Akeneo/Platform/Bundle/InstallerBundle/Resources/fixtures/minimal
    Else :
    $ php bin/console pim:installer:db --env=test --catalog vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/InstallerBundle/Resources/fixtures/minimal

    $ vendor/bin/phpunit

Contributing

If you want to contribute to this open-source project, thank you to read and sign the following contributor agreement, (*11)

The Versions

27/08 2015

dev-master

9999999-dev http://www.akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.4.*

 

The Development Requires

ecommerce pim akeneo integration

24/08 2015

dev-CEB-21

dev-CEB-21 http://www.akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.4.*

 

The Development Requires

ecommerce pim akeneo integration

18/08 2015

v1.6.0-alpha1

1.6.0.0-alpha1 http://www.akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.4.*

 

The Development Requires

ecommerce pim akeneo integration

17/08 2015

dev-code_coverage

dev-code_coverage http://www.akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.4.*

 

The Development Requires

ecommerce pim akeneo integration

31/03 2015

1.5.x-dev

1.5.9999999.9999999-dev http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.3.*

 

The Development Requires

ecommerce pim akeneo integration

09/03 2015

v1.5.0-RC1

1.5.0.0-RC1 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.3.*

 

The Development Requires

ecommerce pim akeneo integration

19/02 2015

v1.4.0

1.4.0.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.2.*

 

The Development Requires

ecommerce pim akeneo integration

05/11 2014

v1.1.1

1.1.1.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.1.*

 

The Development Requires

ecommerce pim akeneo integration

05/09 2014

v1.3.0

1.3.0.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.2.*

 

The Development Requires

ecommerce pim akeneo integration

01/09 2014

v1.3.0-RC1

1.3.0.0-RC1 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.2.*

 

The Development Requires

ecommerce pim akeneo integration

13/08 2014

v1.3.0-alpha1

1.3.0.0-alpha1 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.2.*

 

The Development Requires

ecommerce pim akeneo integration

04/06 2014

v1.2.0

1.2.0.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.1.*

 

The Development Requires

ecommerce pim akeneo integration

04/06 2014

1.0.x-dev

1.0.9999999.9999999-dev http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev ~1.1

 

ecommerce pim akeneo integration

12/05 2014

dev-fix/quick_create_route

dev-fix/quick_create_route http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.1.*

 

The Development Requires

ecommerce pim akeneo integration

23/04 2014

v1.1.0

1.1.0.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev 1.1.*

 

The Development Requires

ecommerce pim akeneo integration

11/04 2014

1.0.0

1.0.0.0 http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev ~1.1

 

ecommerce pim akeneo integration

04/04 2014

dev-maintenance/1.0_backports

dev-maintenance/1.0_backports http://akeneo.com

Akeneo PIM Custom entity bundle

  Sources   Download

OSL-3.0

The Requires

  • akeneo/pim-community-dev dev-maintenance/1.0_backports

 

The Development Requires

ecommerce pim akeneo integration