friendsofsulu/sulu-import-export-bundle
最新稳定版本:2.1
Composer 安装命令:
composer require friendsofsulu/sulu-import-export-bundle
包简介
Import/Export Bundle for Sulu 2 CMS
README 文档
README
- PHP >= 7.3
- Sulu 2.*
- Symfony 4.4 / 5.* / 6
Install the bundle
Execute the following composer command to add the bundle to the dependencies of your project:
composer require friendsofsulu/sulu-import-export-bundle
Enable the bundle
Enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:
return [ /* ... */ FriendsOfSulu\Bundle\SuluImportExportBundle\SuluImportExportBundle::class => ['all' => true], ];
Configure the bundle
If the doctrine database connection used by Sulu is not the 'default' DBAL connection you have to specify the connection name in the bundle's configuration.
# config/packages/sulu_import_export.yaml sulu_import_export: dbal_connection: default
Configure the import and export paths in your .env in the following way.
MEDIA_PATH='var/uploads/media' IMPORT_DIR='var/import/' EXPORT_DIR='var/export/'
UPGRADE
1.1.1
Since version 1.1.1 it should be possible to change the path of the export and import easily. For this the ENV must be extended by the following variables. To map the same function as in the 1.0.0 version it is sufficient to leave the variables empty.
IMPORT_DIR= EXPORT_DIR=
2.1.0
All namespaces have been renamed.
#old TheCadien\Bundle\SuluImportExportBundle\ #new FriendsOfSulu\Bundle\SuluImportExportBundle\
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-25