embitel/csvimport
Composer 安装命令:
composer require embitel/csvimport
包简介
A reusable Pimcore bundle for custom features
README 文档
README
The CSV Import bundle helps you import product data (including names, SKUs, prices, categories) from a CSV file into Pimcore objects. Upload CSV via user panel
Features
- Upload CSV via user panel
- Import via console command
- Map CSV columns to object fields
- Validation for required field
Getting started
Please check the updated version here https://packagist.org/packages/embitel/csvimport sudo composer require embitel/csvimport
Edit the project root/composer.json file and register the bundle namespace in the "autoload: psr-4" section
Add this in composer.json
"autoload": {
"psr-4": {
"Embitel\\ImportProductCsvBundle\\": "vendor/embitel/csvimport/src"}
}
Execute this command composer dump-autoload
We need to registered bundle in config/bundles.php
Embitel\ImportProductCsvBundle\EmbitelImportProductCsvBundle::class => ['all' => true]
$ sudo php bin/console pimcore:bundle:list $ sudo php bin/console cache:clear
Configuration:
We should select all required attributes along with optional attribute from this configuration.
Create one multiselect option and use embitel option provider.
csv file format:
sku name price color category quantity specialPrice hsnCode thumbnail imagegallery P1001 Red Shirt 19.99 red jerseys 12 11 121 https://contents.mediadecathlon.com/p2154164/73698deddacfd12d401b7b8262b0b948/p2154164.jpg https://contents.mediadecathlon.com/p2154164/73698deddacfd12d401b7b8262b0b948/p2154164.jpg,https://contents.mediadecathlon.com/p2379979/k$9b10d2a96659fb03dfa9a243913e38c7/size-4-football-sunny-300-green.jpg,https://contents.mediadecathlon.com/p2880247/k$30f31f4876fbb4a4ca4b53e0ef7d6c9c/mini-football-sunny-300.jpg P1002 Blue Jeans 49.95 red jerseys 12 11 111 https://contents.mediadecathlon.com/p2379979/k$9b10d2a96659fb03dfa9a243913e38c7/size-4-football-sunny-300-green.jpg P1003 White Sneakers 89 red jerseys 12 11 343 https://contents.mediadecathlon.com/p2880247/k$30f31f4876fbb4a4ca4b53e0ef7d6c9c/mini-football-sunny-300.jpg
embitel/csvimport 适用场景与选型建议
embitel/csvimport 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 embitel/csvimport 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 embitel/csvimport 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-19