Syncronization functionality for Repman - Magento2 integration. This module integrates your Magento2 site with Repman allowing you to supply your magento module's directly from your e-commerce. In order to supply modules from you e-commerce as downloadable products, make public or private repositories containing magento2 modules (https://repman.io/docs/private-packages/), add it on your repman main organization and configure magento2 with this module.
Fully tested and working on Magento CE(EE) 2.4.4, 2.4.5, 2.4.6
You can install this module adding it on app/code folder or with composer.
composer require dadolun95/magento2-repman
Then you'll need to enable the module and update your database and files:
php bin/magento module:enable Dadolun_Repman
php bin/magento setup:upgrade
php bin/magento setup:di:compile
You must enable the module from "Stores > Configurations > Dadolun > Repman > Integration management" section enabling the integration and adding your Repman Rest API Token.
After Token verification you'll be able to add your main repman organization uri and prefix for new generated organizations.
Create your downloadable products adding repman informations:
- Repository name
- Repository Subscription end expression (empty for unlimited updates, strtotime string expression for limited subscription time ex: "+1 year")
- Repository Type
- Installation instructions (optional, will be added as INSTALL.txt file into zipped module download)
- Remember to create an "empty" purchasable item
Each customer will be now able to see each downloadable purchased package on his account after purchase and successfull invoicing of the order And his auto-generated organization token on repman on "Account Information" section. The download link will give a zip file to the customer containing all module versions zipped and a INSTALL.txt file filled with data contained into product "Installation instructions" attribute.
Contributions are very welcome. In order to contribute, please fork this repository and submit a pull request.