-
Notifications
You must be signed in to change notification settings - Fork 54
Installation using Composer
Magento® 2 use the Composer to manage the module package and the library. Composer is a dependency manager for PHP. Composer declare the libraries your project depends on and it will manage (install/update) them for you.
Check if your server has composer installed by running the following command:
composer –v
If your server doesn’t have the composer install, you can easily install it. https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx
Step-by-step to install the Magento® 2 extension by Composer:
- Run the ssh console.
- Locate your Root
- Install the Magento® 2 extension
- Cache and Deploy
-
Run your SSH Console to connect to your Magento® 2 store
-
Locate the root of your Magento® 2 store.
-
Enter the command line in your Root and wait as composer will download the extension for you:
composer require mollie/magento2
- When it’s finished you can activate the extension, clean the caches and deploy the content in your Magento® environment using the following command line;
php bin/magento module:enable Mollie_Payment
php bin/magento setup:upgrade
php bin/magento cache:clean
If Magento® is running in production mode, deploy the static content:
php bin/magento setup:static-content:deploy
After the installation. Go to your Magento® admin portal, to ‘Stores’ > ‘Configuration’ > ‘Sales’ > ‘Payment Methods’ > ‘Mollie Payments’. Select ‘General’.
The Mollie Payments extension is developed by Magmodules.
- Install Mollie using Composer
- Update Mollie using Composer
- Install Mollie using the Magento® Marketplace