manifest / integrations / gymguyz-formidable-laravel-sync
GymGuyz Global Formidable & Laravel Sync
A robust integration bridging Formidable Forms on WordPress with an external Laravel backend API.
by Kostiantyn Liashkovskyi · github.com/mordecai03/gymguyz-formidable-laravel-sync
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mordecai03/gymguyz-formidable-laravel-sync/archive/refs/heads/main.zipReadme
GymGuyz Global Formidable & Laravel Sync
A comprehensive, enterprise-grade WordPress Multisite plugin designed to bridge Formidable Forms submissions across sub-sites with a centralized main site architecture and external Laravel backend API.
Features
- Cross-Site Form Rendering: Shortcode-driven global form embedding (
[global_formidable]) with automated context switching (switch_to_blog) to process entries seamlessly on the main network site. - Advanced Frontend Tracking: Injects a robust JavaScript tracker capturing Google Ads (
gclid), session IDs, custom query parameters, and referrers, dynamically mapping them into hidden form fields. - External Laravel REST API Integration: Intercepts form submissions (
frm_after_create_entry), parses field values, dynamically maps additional fields, and transmits structured JSON payloads securely via Bearer token authorization. - CleanTalk Bot Checker Integration: Protects submissions using CleanTalk's wrapper, safely extracting hidden event tokens utilizing PHP Reflection (
ReflectionMethod) to bypass access restrictions. - Dynamic Field Population: Fetches real-time form field options from the external Laravel API and caches responses using WordPress Transients with a Network Admin manual flush tool.
- Network Admin Monitoring Dashboard: Includes a dedicated menu page featuring global configuration settings and a real-time request/response monitor log.
Technical Stack
- PHP 8.x (Object-Oriented patterns, Reflection API, exception handling, closures)
- WordPress Multisite API (
switch_to_blog,restore_current_blog, network options) - Formidable Forms Hooks & API (
frm_after_create_entry,FrmEntry,FrmField, shortcode controllers) - WordPress Transient Cache & HTTP API (
wp_remote_post,wp_remote_get) - Vanilla JavaScript (Session storage handling, DOM manipulation, URLSearchParams)
Installation
- Upload the
gymguyz-formidable-laravel-syncfolder to the/wp-content/plugins/directory of your WordPress network. - Network Activate the plugin through the WP Network Administrator dashboard.
- Navigate to GG Sync Forms in the Network Admin menu to configure your Laravel API Bearer Token, CleanTalk API Key, and API endpoints.