PHPackages                             stokoe/forms-to-wherever - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stokoe/forms-to-wherever

ActiveStatamic-addon[Utility &amp; Helpers](/categories/utility)

stokoe/forms-to-wherever
========================

Base forms connector system for Statamic

0.0.9(2mo ago)288115MITPHPPHP ^8.2 || ^8.3

Since Nov 15Pushed 2mo agoCompare

[ Source](https://github.com/Michael-Stokoe/statamic-forms-to-wherever)[ Packagist](https://packagist.org/packages/stokoe/forms-to-wherever)[ RSS](/packages/stokoe-forms-to-wherever/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (12)Used By (5)

Forms To Wherever
=================

[](#forms-to-wherever)

**The ultimate form connector system for Statamic** - Send your form submissions anywhere with zero frontend modifications required.

Transform your Statamic forms into powerful data collection tools that seamlessly integrate with any external service, API, or webhook endpoint. Whether you're connecting to CRMs, email marketing platforms, analytics tools, or custom APIs, Forms To Wherever makes it effortless.

✨ Why Choose Forms To Wherever?
-------------------------------

[](#-why-choose-forms-to-wherever)

### 🚀 **Zero Frontend Impact**

[](#-zero-frontend-impact)

- **Works with ANY frontend** - React, Vue, Alpine.js, vanilla HTML, or headless setups
- **No template modifications required** - Connector fields are automatically hidden from form rendering
- **Universal compatibility** - Works with `{{ form | to_json }}`, AJAX submissions, and traditional forms

### 🔧 **Developer-Friendly Architecture**

[](#-developer-friendly-architecture)

- **Extensible connector system** - Build custom connectors for any service
- **Clean, testable code** - Modern PHP with proper error handling and logging
- **Marketplace ecosystem** - Install only the connectors you need

### 🛡️ **Production-Ready**

[](#️-production-ready)

- **Graceful error handling** - Failed connectors won't break form submissions
- **Comprehensive logging** - Debug issues with detailed error reporting
- **Security-first design** - Built-in SSRF protection and validation

🎯 Perfect For
-------------

[](#-perfect-for)

- **Marketing teams** connecting forms to CRMs and email platforms
- **Developers** building custom integrations without reinventing the wheel
- **Agencies** needing flexible form solutions across multiple projects
- **SaaS applications** requiring seamless data flow between systems

📦 What's Included
-----------------

[](#-whats-included)

### Built-in Webhook Connector

[](#built-in-webhook-connector)

Send form data to any HTTP endpoint with:

- **Flexible HTTP methods** (POST, PUT, PATCH)
- **Custom field mapping** - Transform form fields to match your API
- **Automatic metadata** - Form name, submission ID, and timestamp included
- **Timeout protection** - Never hang your forms waiting for slow APIs

🚀 Quick Start
-------------

[](#-quick-start)

### 1. Install the Addon

[](#1-install-the-addon)

```
composer require stokoe/forms-to-wherever
```

### 2. Add to Your Form Blueprint

[](#2-add-to-your-form-blueprint)

```
fields:
  # Your existing form fields...
  -
    handle: connectors
    field:
      type: form_connectors
      display: Form Connectors
      instructions: Configure where form submissions should be sent
```

### 3. Configure in the Control Panel

[](#3-configure-in-the-control-panel)

1. Edit your form in the Statamic Control Panel
2. Navigate to the "Form Connectors" section
3. Enable the Webhook connector
4. Enter your endpoint URL and configure field mapping
5. Save and you're done!

### 4. Test Your Integration

[](#4-test-your-integration)

Submit a test form and watch your data flow seamlessly to your configured endpoints. Check the logs for detailed processing information.

🔌 Extend with Custom Connectors
-------------------------------

[](#-extend-with-custom-connectors)

Building a custom connector is incredibly simple. Here's a complete Mailchimp example:

```
