Menu Close
    Searching for an experienced Akeneo Development Company ?

    How to install Webkul Akeneo Connector via Composer?

    In this blog, we will discuss How to install Webkul Akeneo Connector via Composer?

    If you have purchased Webkul Akeneo Connector and want to install it via composer, then no need to worry about this, The solution is here.

    You just need to follow few steps and the Webkul Akeneo connector will be installed via composer

    Step 1: GET the Access Keys

    Ask for the access keys of the Akeneo Connectors for composer installation from the [email protected]

    you will get the access key like this

    Access Key b83d461dc568a5f1f7f71d302489de0b
    Access Secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    Step 2: Add our repository to your composer.json

    {
      "repositories": [{
        "type": "composer",
        "url": "https://akeneorepo.webkul.com/"
      }]
    }

    e.g.

    image-29

    Step 3: Install the extension using composer.

    Run the composer install command.

    composer require vendor/extension_name --no-scripts

    e.g. composer require webkul/magento2bundle –no-scripts

    Step 4: Fill the authentication.

    Then it will ask you to enter authentication credentials (keys username and password as shown in the screenshot)

    image-30

    Step 5: Register the bundle

    If you are registering the bundle over Akeneo 4.x or later version then you need to register the bundle in the file config/bundles.php

    e.g.

    <?php
    
    return [
        // Add your bundles here with the associated env.
        // Ex:
        Acme\Bundle\AppBundle\AcmeAppBundle::class => ['dev' => true, 'test' => true, 'prod' => true],  
        
    ];
    

    If you are registering the bundle over the Akeneo 3.x or lower version then you need to register the bundle in the file.

    app/AppKernel.php

    e.g.

    protected function registerProjectBundles ()

    {

    return [

    new Acme\Bundle\AppBundle\AcmeAppBundle(),

    ];

    }

    Step 6: Clear the cache and update database.

    NO-DOCKER=true make cache;
    NO-DOCKER=true make front;
    bin/console doctrine:schema:update --force --env=prod

    if you are using the docker server then run the command.

    make cache
    make front
    docker-compose run -u www-data --rm php php bin/console doctrine:schema:update --force --env=prod

    If you will face any issue raise a ticket over [email protected]

    Thank you!

    Please explore our Akeneo Development Services and Quality Akeneo Extensions.

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top