Download the PHP package indigocoding/module-connection-extend without Composer
On this page you can find all versions of the php package indigocoding/module-connection-extend. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download indigocoding/module-connection-extend
More information about indigocoding/module-connection-extend
Files in indigocoding/module-connection-extend
Package module-connection-extend
Short Description Indigo Connection Extend extension for Magento2
License OSL-3.0 AFL-3.0
Informations about the package module-connection-extend
Magento 2 Indigo Connection Extend Extension
This extension helps with using split database (checkout, sales) for Magento CE, and user-defined resources name in declarative schema (e.g: db_schema.xml) instead of only the 3 default resources (default, checkout, sales).
This extension is meant to be used by developers for easier development. Work with both Magento 2 Open Source and Commerce.
Requirements
Magento 2.3+ (Tested with Magento 2.3.0 EE, 2.3.4 CE and 2.4.0 CE)
✓ Install via composer (recommended)
Run the following command under your Magento 2 root dir:
Install manually under app/code
- Download & place the contents of this repository under {YOUR-MAGENTO2-ROOT-DIR}/app/code/Indigo/ConnectionExtend
- Run the following commands under your Magento 2 root dir:
Usage
Magento split database (checkout, sales) for Magento Open Source
After the installation, setup sales and/or checkout connection(s) and resource(s) by modifying app/etc/env.php file, and create schemas (defined in env.php) + grant permission to database user.
If module PayPal_Braintree is enabled, delete its entry in setup_module table.
Run php bin/magento setup:upgrade.
User-defined resources
After the installation, Go to The Magento 2 admin panel.
Go to Stores -> Settings -> Configuration, under tab Advanced -> System -> Connection Extend Configuration. In Connection Extend List setting, enter the list of resource name as string, separated by a comma.
Setup new connection and resource by modifying app/etc/env.php file (new resource key must be the same as configured above), and creating schema (defined in env.php) + grant permission to database user.
Put the new resource name in db_schema.xml file whenever needed and enjoy!
Copyright © 2021 IndigoCoding. All rights reserved.