Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 553 Bytes

installation.md

File metadata and controls

25 lines (19 loc) · 553 Bytes

Installation

Install dependencies

composer require sulu/sylius-consumer-plugin

Configure SuluSyliusConsumerBundle and symfony messenger

# sulu/config/packages/sulu_sylius_consumer.yaml
 
sulu_sylius_consumer:
    sylius_base_url: '%env(SYLIUS_BASE_URL)%'

framework:
    messenger:
        transports:
            sulu_sylius_transport: '%env(SULU_SYLIUS_MESSENGER_TRANSPORT_DSN)%'
        buses:
            sulu_sylius_producer.messenger_bus:
                middleware:
                    - doctrine_transaction