abenmada/sylius-export-plugin

导出插件允许您直接从配置文件中导出任何实体的所有数据


README

导出插件允许您直接从配置文件中导出任何实体的所有数据。

presentation photo

文档

安装

使用Composer安装插件

composer require abenmada/sylius-export-plugin

修改您的 config/bundles.php 文件以添加插件的行

<?php

return [
    //..
    Abenmada\ExportPlugin\ExportPlugin::class => ['all' => true],
]

然后在 config/packages/abenmada_export_plugin.yaml 中创建配置文件

imports:
    - { resource: "@ExportPlugin/Resources/config/services.yaml" }

然后导入 config/routes/abenmada_export_plugin.yaml 中的路由

abenmada_export_plugin_routing:
    resource: "@ExportPlugin/Resources/config/routes.yaml"
    prefix: /%sylius_admin.path_name%