How to install the e-boekhouden extension using Composer
Step-by-Step Installation of Magento 2 Extensions via Composer
Important: If the plugin was purchased from the Adobe Marketplace, this installation method does not apply. The steps outlined below are only for orders placed directly via our site.
Installing Magento extensions using Composer is the preferred method due to its ability to manage dependencies, ensure version compatibility, and streamline the update process. Composer simplifies the installation and management of PHP packages, making it an essential tool for Magento development.
Get the Details
-
Log in to your account to obtain your Composer Authentication Keys and Credentials, which are automatically generated after purchasing one of our extensions.
-
You can also create new Composer keys with a description if you want to change environments and keys.
Backup (Optional but Recommended)
We strongly recommend testing your installation in a development environment prior to releasing it to production. Additionally, ensure you have a full backup of your store available in case you need to perform a rollback.
Add the Magmodules Composer Repository via SSH
The next step is to add the packages.magmodules.eu repository to your Composer configuration.
Add Repository by SSH
Through an SSH connection, run the following command from your Magento installation directory to connect with our private repository:
composer config repositories.magmodules composer https://packages.magmodules.eu/
After executing this command, a blank line will appear, indicating that the repository has been successfully added to your composer.json file.
If you prefer to add the Composer repository manually, please refer to your account for the exact commands.
Extension Installation
Once the repository is added to the composer.json file, you can now install the packages that are available through it. If preferred, enable the maintenance mode, see the last part of this section.
Download extension
To download the extension to your store, execute the following command:
composer require magmodules/magento2-eboekhouden
After executing this command the first time, the username and password of the Composer Auth Keys will be asked and can be obtained here.
Install extension
After that the extension is successfully downloaded, start the setup of the E-boekhouden Connection extension by running this commands:
php bin/magento module:enable Magmodules_Eboekhouden
php bin/magento module:enable Magmodules_AccountingBase
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Now you've successfully executed the right commands and the extension is successfully installed, it's ready for configuration. Navigate to Stores ⇨ Configuration ⇨ Magmodules ⇨ E-boekhouden Connection and Accounting to start the configuration.
Maintenance mode
You may want to enable the maintenance mode when installing or updating the module, especially when working on a production website. To do so, run the two commands below before and after running the other setup commands:
php bin/magento maintenance:enable
# Other setup commands
php bin/magento maintenance:disable
Update and Remove extension
It's also possible to easily remove, update and update to a specific version using the following commands:
To update the extension to the latest version, use the command:
composer update magmodules/magento2-eboekhouden
composer update magmodules/magento2-accounting-base
If you want to update another version, not the latest version of the extension use the command:
composer require magmodules/magento2-eboekhouden: version
composer update magmodules/magento2-accounting-base:version
To remove the extension, use the command:
composer remove magmodules/magento2-eboekhouden
composer update magmodules/magento2-accounting-base

