esign/craft-formie-realsuite 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

esign/craft-formie-realsuite

最新稳定版本:1.0.0

Composer 安装命令:

composer require esign/craft-formie-realsuite

包简介

Realsuite integration that extends Formie.

README 文档

README

Stable Version Total Downloads

A Realsuite integration that extends the Formie plugin for Craft CMS. Pushes Formie form submissions to the Realsuite SiteSync API as leads.

Requirements

This plugin requires:

  • Craft CMS 5.0.0 or later
  • PHP 8.2 or later
  • Formie 3.0 or later
  • A Realsuite account with a SiteSync API key

Installation

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require esign/craft-formie-realsuite

# tell Craft to install the plugin
./craft plugin/install formie-realsuite

From the Plugin Store

Go to the Plugin Store in your project's Control Panel and search for "Formie Realsuite Integration". Then press "Install".

Usage

Setting Up the Realsuite Integration

  1. Navigate to Formie → Settings → CRM
  2. Click New Integration
  3. Select Realsuite as your integration provider
  4. Enter your Realsuite SiteSync API Key and save the integration
  5. After saving, click the Refresh button in the right-hand sidebar to verify the API connection

Sending Form Submissions to Realsuite

  1. Go to the form you want to connect with Realsuite
  2. Navigate to the Integrations tab
  3. Enable your Realsuite integration
  4. Toggle one or more lead types and map your form fields:
Lead type Endpoint Use case
Lead Detail POST /leads/detail Visitor requests more info about a specific property (publicationId required)
Lead Estimate POST /leads/estimate Visitor requests a property valuation, includes address and estate type fields
Lead Info POST /leads/info General contact/info request
Lead Search Profile POST /leads/search-profile Visitor submits a property search profile with criteria (price, area, type, etc.)
  1. Map each form field to the corresponding Realsuite field and save the form

Field Mapping Notes

  • Lead DetailpublicationId and lastName and info are required
  • Lead EstimatelastName is required; address and estate type fields are optional
  • Lead InfolastName is required
  • Lead Search ProfilelastName is required; the searchProfile object is assembled automatically from the Search Profile:, Residential:, and Professional: prefixed fields
  • Array fields (Search Profile: Sorts, Genres, Characterisations, Zipcodes) — map these to a Formie Checkboxes or Multi-select Dropdown field to pass multiple values

Custom Value Transformations

If you need to transform field values before they are sent to Realsuite (e.g. mapping a Craft entry selection to a Realsuite string code), listen to the EVENT_MODIFY_FIELD_MAPPING_VALUE event in a project module:

use esign\formierealsuite\integrations\crm\Realsuite;
use verbb\formie\events\ModifyFieldIntegrationValueEvent;

Event::on(
    Realsuite::class,
    Realsuite::EVENT_MODIFY_FIELD_MAPPING_VALUE,
    function(ModifyFieldIntegrationValueEvent $event) {
        // $event->value    — the value being sent (modify this)
        // $event->rawValue — the original unmodified value
        // $event->field    — the Formie form field
        // $event->integrationField — the Realsuite destination field
    }
);

API Documentation

For more information about the Realsuite SiteSync API, refer to the Realsuite SiteSync API documentation.

License

This plugin is licensed under the MIT License. Please see License File for more information.

Screenshot

Screenshot of the Formie Realsuite Integration

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: mit
  • 更新时间: 2026-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固