承接 sidecar/craft-formie-import 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sidecar/craft-formie-import

最新稳定版本:1.0.6

Composer 安装命令:

composer require sidecar/craft-formie-import

包简介

CSV import tool for Formie submissions in Craft CMS 5

README 文档

README

CSV import tool for Formie submissions in Craft CMS 5.

Packagist Version License

Features

  • CSV import — Import submissions from CSV files into any Formie form
  • Auto field mapping — Automatic column-to-field matching by label or handle, with accent-normalized fuzzy matching
  • Multi-form support — Import to a single form or multiple forms from one CSV file
  • Duplicate detection — Skip duplicates based on configurable unique field combinations
  • Spam filtering — Optionally skip rows marked as spam in the CSV
  • Dry run mode — Test your import before committing to the database
  • Console commands — List forms, generate mappings, and import via CLI
  • Translations — English and French included

Requirements

  • Craft CMS 5.3+
  • PHP 8.2+
  • Formie 3.0+

Installation

composer require sidecar/craft-formie-import
php craft plugin/install craft-formie-import

Usage

Web Interface

  1. Go to Formie Import in the Craft CP sidebar
  2. Select a target form (or "All forms" for multi-form import)
  3. Upload your CSV file and click Analyze CSV
  4. Review the auto-generated column mapping and adjust if needed
  5. Configure options: duplicate detection fields, spam filtering
  6. Click Dry Run (test) to preview results, or Import to proceed

Console Commands

# List all forms and their fields
php craft formie/list-forms

# Generate a mapping file for a form
php craft formie/generate-mapping path/to/file.csv --form=myFormHandle

# Import a CSV file
php craft formie/import-csv path/to/file.csv --form=myFormHandle

# Import with options
php craft formie/import-csv path/to/file.csv \
  --form=myFormHandle \
  --uniqueFields=email,phone \
  --skipSpam \
  --dryRun

CSV Format

The plugin expects a CSV exported from Formie. Meta columns (ID, Form ID, Form Name, User ID, IP Address, Is Incomplete?, Is Spam?, etc.) are recognized automatically and excluded from field mapping.

Data columns are matched to form fields by label or handle. Sub-fields use colon notation (e.g., Name: First Name).

License

MIT

Credits

Developed by Side-Car.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固