PHPackages                             developwithwp/omg-forms-mailchimp - 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. developwithwp/omg-forms-mailchimp

ActivePackage

developwithwp/omg-forms-mailchimp
=================================

An OMG Forms addon, which adds support for mailchimp forms.

01PHP

Since Oct 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mrbobbybryant/omg-forms-mailchimp)[ Packagist](https://packagist.org/packages/developwithwp/omg-forms-mailchimp)[ RSS](/packages/developwithwp-omg-forms-mailchimp/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

OMG Forms: Mailchimp Addon
==========================

[](#omg-forms-mailchimp-addon)

A WordPress Forms Solution built specifically for Developers. This addon will send all form submissions to Mailchimp.

Installation
------------

[](#installation)

OMG Forms can be installed via composer.

```
$ composer require developwithwp/omg-forms
```

Once you have installed this package you will need to call Composer's autoloader if your project is not already.

```
if ( file_exists( get_template_directory() . '/vendor/autoload.php' ) ) {
    require( 'vendor/autoload.php' );
}
```

Usage
-----

[](#usage)

You are now ready to create your first form. OMG Forms comes with a helper method for creating new forms `\OMGForms\Core\register_form()`.

This function expects an array of arguments similar to how `register_post_type` expects an array of arguments.

To start lets define a very simple form.

```
$args = [
		'name'              =>  'mailchimp-form',
		'redirect'          =>  false,
		'email'             =>  false,
		'form_type'         =>  'mailchimp',
		'success_message'   =>  'Thank you!',
        'list_id'           =>  'a16dff7b29',
        'rest_api'          =>  true,
		'fields' => [
			[
				'slug'      =>   'fname',
				'label'     =>   'First Name',
				'type'      =>   'text',
				'required'  =>   true
			],
			[
				'slug'      =>   'lname',
				'label'     =>   'Last Name',
				'type'      =>   'text',
				'required'  =>   true
			],
			[
				'slug'      =>  'email-address',
				'label'     =>  'Email',
				'type'      =>  'email',
				'required'  =>   true
			]
		]
	];
```

As you can see the form allows for a lot of configuration at both the form and the field level.

Once you have defined a form, you can render it by calling `display_form`.

```
echo \OMGForms\Core\display_form( 'mailchimp-form' );
```

Notes
-----

[](#notes)

For the Mailchimp addon to work you will need to ensure you provide a few key settings when registering your form.

1. `form-type` must be set to `mailchimp`
2. `rest_api` must be set to `true`.
3. You must provide a valid list\_id for the mailchimp list you wish to use. This can be found in the list settings dropdown in Mailchimp. Click on **List name and campaign defaults**. [![alt text](https://github.com/mrbobbybryant/omg-forms-mailchimp/Mailchimp-list-id.png)](https://github.com/mrbobbybryant/omg-forms-mailchimp/Mailchimp-list-id.png)
4. First and Last Name fields should have a slug of `fname` and `lname`.
5. Must provide an email field with a slug of `email-address`.

For more information about OMG Forms in general, please check out the [base repo](https://github.com/mrbobbybryant/omg-forms).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8323ec7131dbb68e4fd8afc49af920a501a932ad401cc2c08911241d39ef1dfc?d=identicon)[mrbobbybryant](/maintainers/mrbobbybryant)

---

Top Contributors

[![mrbobbybryant](https://avatars.githubusercontent.com/u/7875796?v=4)](https://github.com/mrbobbybryant "mrbobbybryant (1 commits)")

### Embed Badge

![Health badge](/badges/developwithwp-omg-forms-mailchimp/health.svg)

```
[![Health](https://phpackages.com/badges/developwithwp-omg-forms-mailchimp/health.svg)](https://phpackages.com/packages/developwithwp-omg-forms-mailchimp)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
