3brs/sylius-shipment-export-plugin
Composer 安装命令:
composer require 3brs/sylius-shipment-export-plugin
包简介
Shipping export plugin for Sylius
关键字:
README 文档
README
Shipment Export Plugin
Features
- See list of all ready to ship orders (offline payment method or payment completed for non offline method)
- Mark more orders at once as shipped
- Download CSV for submitting batch shipments with Geis
- Download CSV for submitting batch shipments with Czech Post
- You can easily extend the module to support custom CSV format for other shipping providers
Installation
- Run
composer require 3brs/sylius-shipment-export-plugin. - Register
ThreeBRS\SyliusShipmentExportPlugin\ThreeBRSSyliusShipmentExportPlugin::class => ['all' => true]in yourconfig/bundles.php. - Import routes in your
config/routes.yaml
threebrs_sylius_shipment_export_plugin:
resource: "@ThreeBRSSyliusShipmentExportPlugin/Resources/config/admin_routing.{yml,yaml}"
prefix: '/%sylius_admin.path_name%'
- Import plugin configuration in your
config/packages/_sylius.yaml
imports: - { resource: "@ThreeBRSSyliusShipmentExportPlugin/Resources/config/config.yaml" }
Usage
You can use predefined CSV type for shipment providers Geis and Czech Post) or write your own exporter.
Your custom exporter has to implement ThreeBRS\SyliusShipmentExportPlugin\Model\ShipmentExporterInterface
and must be defined as service. Check out our sample implementations.
Predefined shipping providers:
- Czech post
ThreeBRS\SyliusShipmentExportPlugin\Model\CeskaPostaShipmentExporter:
public: true
arguments:
$currencyConverter: '@sylius.converter.currency'
tags:
- name: threebrs.shipment_exporter_type
type: 'ceska_posta'
label: 'Česká pošta'
- Geis
ThreeBRS\SyliusShipmentExportPlugin\Model\GeisShipmentExporter:
public: true
arguments:
$currencyConverter: '@sylius.converter.currency'
tags:
- name: threebrs.shipment_exporter_type
type: 'geis'
label: 'Geis'
Shipping methods
Your shipping methods must have a code that matches the code of the shipping method in the exporter
- for Geis see
\ThreeBRS\SyliusShipmentExportPlugin\Model\GeisShipmentExporter::getShippingMethodsCodes - for Czech Post see
\ThreeBRS\SyliusShipmentExportPlugin\Model\CeskaPostaShipmentExporter::getShippingMethodsCodes
Development
Usage
- Develop your plugin in
/src - See
bin/for useful commands
Testing
After your changes you must ensure that the tests are still passing.
$ composer install $ bin/phpstan.sh $ bin/ecs.sh
License
This library is under the MIT license.
Credits
3brs/sylius-shipment-export-plugin 适用场景与选型建议
3brs/sylius-shipment-export-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.15k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 10 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「sylius」 「sylius-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 3brs/sylius-shipment-export-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 3brs/sylius-shipment-export-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 3brs/sylius-shipment-export-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Implementation of the Omnibus Directive for Sylius application.
Bulk export of sylius resources
Sylius plugin that integrates Addwish
Setono example plugin for Sylius.
Will translate fragments of text automatically
Use price tiers in your Sylius store.
统计信息
- 总下载量: 4.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-01

