Magento Data Patch Creator
The Magento 2 DataPatchCreator module simplifies the process of creating PHP Data Patch files directly from the Magento 2 Admin panel. This tool is particularly useful for large teams where developers may forget to create necessary data patches for CMS pages, blocks, configuration settings, or product attributes. The module generates PHP Data Patch files, which can then be exported and added to code repositories. It supports creating data patches for product attributes, CMS pages, CMS blocks, and store configurations, with more features planned for future releases.
Key Features
- Generates data patches for individual entities or mass exports as ZIP files.
- Syncs images between Magento store copies, using the provided
ImageSyncInterface
. Custom image sync methods can be added via dependency injection (DI). - Supports PHP 7.3 and higher, compatible with Magento 2.3.x and 2.4.x.
Important Notes
The main module is not compatible with PageBuilder for Magento 2.4.3, but compatibility can be achieved by installing the enanobots/m2-datapatchcreator-pagebuilder
package.
Installation
Visit our module GitHub repository here for more details.