Link Search Menu Expand Document
Odoo Magento2 Connector
User Guide
Odoo Version Contact Us

Install Magento API Module Via Composer

You can install Magento API module via Composer as well. To ensure a seamless process, kindly follow the steps outlined below:

1. Add Repository to Your Project’s composer.json:

a. In your Magento project’s composer.json file, add a repository entry for your extension. This tells Composer where to find your extension.

b. Find Out key “repositories” and add a new repository section like above.

c. You can also copy the command below and replace it in repositories.

"repositories":[
    {   
      "type": "composer",
      "url": "https://repo.magento.com/"  
    },    
    {    
      "type": "vcs",       
      "url": "https://github.com/emipro/Odoo-Connector-API.git"  
    }
  ],

2. Install the Extension

a. Run the following command to install your extension and its dependencies:

composer require “emipro/magento2-apichange:dev-master” –ignore-platform-reqs

b. Once the command is run properly then module will added in Vendor directory

3. Enable the Extension

a. After installation, enable the extension in Magento using the following command:

php bin/magento module:enable Emipro_Apichange

b. Then one by one run all of the following commands :

    i)  php bin/magento setup:upgrade
    
   ii)  php bin/magento setup:static-content:deploy -f
   
  iii)  php bin/magento indexer:reindex
  
   iv)  php bin/magento setup:di:compile
   
    v)  php bin/magento cache:clean

c. Once all the process is finished then the Emipro Api change plugin will be installed properly on your store.

Table of contents