Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

How to Install Magento Extension via Composer

Vinh Jacker | 06-05-2019

How to Install Magento Extension via Composer

How to Install Mageplaza Paid Extension via Composer

Step 1. Login and Get Mageplaza Access Keys

Log in to your Mageplaza account, go to My Account > My Access Key then create new Access Keys here:

Login and get Mageplaza Access Key

In which:

  • Publish Key is User Name
  • Private Key is Password

Please save these access keys for Step 2.

Step 2. Extension Installation

In this guide, we will show you how to install Gift Card extension which is one of the best-seller extensions at Mageplaza.

Note: This solution is only applied for Paid extensions.

For the first time installing Mageplaza extension via composer, run the following command:

composer config repositories.mageplaza composer https://repo.mageplaza.com

Run Commands

Next, continue running this command:

composer require mageplaza/module-gift-card

You will get this message:

this message

See how to get Magento Access Keys at FAQ below

Now, insert the Mageplaza Publish Key and Private Key saved at Step 1 into the User Name and Password required for Mageplaza Authentification.

Mageplaza Information

Then, you will receive a request of Store Credential Authentification. Please type Y to save the Credential for later settings.

Mageplaza Credential Authentification

Result: After typing Y, all of the required files for your module will be downloaded:

Result

Now, run the following commands to finish installing the extension:

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

FAQ: How to get Magento Access Keys

Access to this link and create Access Keys

Login and Get Magento Access key

In which:

  • Publish Key is User Name
  • Private Key is Password

Also, you can use our sample Access Keys here:

  • Publish Key: 4e947606bf2552e4dad4910bd1928b08
  • Private Key: 30ff4445ebad7885b012fdc667487096

Magento Access Keys

  • When there is a request to insert username, you need to fill in the Magento Publish Key (obtained above). Click to Enter, then shown a request of password filling, please insert the Magento Private Key (obtained above).

  • Next, you will receive a request of Store Credential Authentification. Please type Y to save the Credential for later settings.

Magento Store Credential

x
    Jacker

    With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services