sisl-source / magento2-cms-import-export
Package info
github.com/SISL-source/magento2-cms-import-export
Type:magento2-module
pkg:composer/sisl-source/magento2-cms-import-export
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
- magento/framework: >=103.0.4 <104
- sisl-source/magento2-msp-common: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Move CMS blocks and pages between Magento 2 environments (dev → staging → production). Exports
selected CMS pages and blocks to a single ZIP file (together with the related images from the
media gallery), which you import on another instance. No more copying content by hand through the
admin or dumping the cms_page / cms_block tables.
- Export from the admin: select pages/blocks → Export → you get a
.zip. - Import: upload the
.zipon the target instance (or from the CLI:bin/magento cms:import file.zip). - Preserves content, layout, meta, store-view assignments and attached images.
This is a maintained fork of the abandoned msp/cmsimportexport from the MageSpecialist Security
Suite / CMS tools (last commit 2023; the only public fork is a plain mirror, not a
modernisation). The original pins no magento/framework and was never tested against newer
releases. This fork tightens the dependencies, updates the CLI command to Symfony Console 7
(shipped with 2.4.9) and is verified on Magento 2.4.9 / PHP 8.4 with a real round-trip test
(export page → ZIP → import → verification).
Compatibility
- Magento 2.4.4 – 2.4.9 (Open Source / Adobe Commerce)
- PHP 8.1 – 8.4
- Requires
sisl-source/magento2-msp-common(our fork — pulled in automatically)
Installation
composer require sisl-source/magento2-cms-import-export
bin/magento module:enable MSP_Common MSP_CmsImportExport
bin/magento setup:upgrade
bin/magento setup:di:compile # production mode
Usage
- Export (admin): Content → Pages / Blocks → select rows → mass action Export. A ZIP is downloaded.
- Import (admin): the import entry in the CMS section → upload the ZIP.
- Import (CLI):
bin/magento cms:import /path/to/cms_export.zip
A typical scenario
A content editor prepared a landing page and blocks on staging → export to ZIP → import on production in one move, keeping images and store-view assignments. Versionable (ZIP in the repo/artifacts).
License
OSL-3.0 / AFL-3.0 (same as upstream). Fork maintained by SISL.
Maintained by SISL
Maintained fork by SISL — Magento 2 development and modules. More self-hosted plugins: SISL Marketplace.