sitewards/setup-magento2
Composer 安装命令:
composer require sitewards/setup-magento2
包简介
Magento 2 Bridge for the Sitewards Setup module
README 文档
README
This Magento 2 module is a bridge for the sitewards setup system to allow the import and export of content and configuration in Magento 2.
Architecture
This module contains a bin script and an implementation of the main module's page repository interface.
bin/setup
- Inject the Magento 2 bridge into the main application,
- Run the main application,
Application/Bridge.php
- Initialise the Magento2 CLI Application,
- Build the Magento2 specific page repository,
Repository/PageRepository.php
- Requires the
\Magento\Cms\Api\PageRepositoryInterface,\Magento\Framework\Api\SearchCriteriaBuilderand\Magento\Cms\Api\Data\PageInterfaceFactoryclasses, - Implement the
findandsavemethods from the main application,
Commands
Current commands are as follows:
Export
Export page(s) from Magento 2 to JSON format.
bin/setup page:export [<pageID>] [<pageID>] ...
Import
Import page(s) from JSON to Magento 2.
bin/setup page:import
Authors
- David Manners david.manners@sitewards.com
- Darko Poposki darko.poposki@sitewards.com
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-01