How to install Webkul Akeneo Connector via Composer?

Kuldeep Singh - Jan 5 '22 - - Dev Community

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 a few steps and the Webkul Akeneo connector will be installed via composer.

I am taking the example of the webkul/shopifyconnector connector to install via composer. for all others its similar just change the name.

Note: Akeneo version must be 4. x or later

Step 1: GET the Access Keys

Ask for the access keys of the Akeneo Connectors for composer installation from the support@webkul.com

you will get the access key like this

Username: b83d461dc568a5f1f7f71d302489de0b
Password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 2: Add our repository and installation script in your Akeneo composer.json,

script path ( vendor/webkul/shopifyconnector/composer_install.sh ) may change according to the connector path, afterward, you will find this in the related connector documentaion section.

{
"scripts": {
"post-update-cmd": [
"vendor/webkul/shopifyconnector/composer_install.sh"
],
"post-install-cmd": [
"vendor/webkul/shopifyconnector/composer_install.sh"
],
"post-create-project-cmd": [
"vendor/webkul/shopifyconnector/composer_install.sh"
]
},
"repositories": [{
"type": "composer",
"url": "https://akeneorepo.webkul.com/"
}]
}

e.g.

Image description

Step 3: Install the extension using composer.

Run the composer install command.

composer require vendor/extension_name

e.g. composer require webkul/shopifyconnector

Step 4: Fill the authentication.

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

Image description

After successfully enter the Username and as well as Password, webkul connector will download, and install using script.

Note: Composer command should be run with the php user, and php user must have the permission to write in the akeneo directory.

Step 5: Success Message

After successfully, run the above command, it will show you the following message.

Cheers! Successfully Installed the ShopifyBundle Webkul Bundle

Step 6: Clear Browser cache

Clear the browser cache / hardreload (cmd/ctrl + shift + R) of your browser to see the changes.

If you will face any issue raise a ticket over support@webkul.com

Thank you!

Please explore our Akeneo Development Services and Quality

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .