marcelsud / akeneo-producer-bundle
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 16
Type:akeneo-connector
Requires
- akeneo/pim-community-dev: ^1.7
- ocramius/proxy-manager: ^1.0
- php-amqplib/rabbitmq-bundle: ^1.12
- symfony/proxy-manager-bridge: ^2.7
- symfony/symfony: ^2.7
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-13 04:09:45 UTC
README
Makes Akeneo produce AMQP messages pushed through RabbitMQ.
Installation
- Require this package:
$ composer require sylake/akeneo-producer-bundle
- Add bundles to
AppKernel.php
of existing Akeneo application:
protected function registerProjectBundles() { return [ new \OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(), new \Sylake\AkeneoProducerBundle\SylakeAkeneoProducerBundle(), ]; }
- Configure RabbitMQ default connection:
# app/config/config.yml old_sound_rabbit_mq: connections: default: host: 'localhost' port: 5672 user: 'guest' password: 'guest'
- Configure locales (optional) (default: en_GB, de_DE):
# app/config/config.yml sylake_akeneo_producer: locales: - 'en_GB' - 'de_DE'
Usage
- Perform export via UI or CLI:
$ app/console akeneo:batch:create-job "Sylake - Akeneo Producer" sylake_akeneo_producer export sylake_akeneo_producer $ app/console akeneo:batch:job sylake_akeneo_producer
You can also export just one product by its SKU by running:
$ app/console sylake:producer:export-product PRODUCT_SKU