This module integrates Drupal webforms with MailerLite, allowing new subscribers to be automatically created in your MailerLite account when a form is submitted. You can optionally assign these subscribers to specific MailerLite groups and include additional data from the webform.
Features
- A simple webform handler to create a new Subscriber on a MailerLite account.
- By default, the Subscribers do not belong to a MailerLite Group.
- Ability to add more data on the Subscriber. See https://developers.mailerlite.com/docs/subscribers.html#create-upsert-subscriber
- Ability to assign Subscribers on a specific Group
- The module uses the official PHP library, https://github.com/mailerlite/mailerlite-php.
Installation
- Install this module normally.
- Create a MailerLite account
- Create a new MailerLite API key (https://developers.mailerlite.com/docs/#authentication)
- Add your key on Drupal settings (
$settings['mailerlite_key'] = "eyJ0eXA...iOiJKV";) - Create a MailerLite handler for a webform. Map the required Email field accordingly.
Plan
- Allow more actions for the Subscribers API (except from the "Subscriber:create") as also as more API entities (Campaign, Group, Segment, Form etc)
- Provide more options to store the MailerLite key on Drupal.
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.4 | Stable | 10–11 | Drop support for 9.x, add support for 12.x | Jul 19, 2026 | |
| 1.0.3 | Stable | 9–11 | Main class refactoring and phpunit testing. | Mar 2, 2026 | |
| 1.0.x-dev | Dev | 10–11 | Dec 13, 2025 | ||
| 1.0.2 | Stable | 9–11 | Oct 20, 2025 | ||
| 1.0.1 | Stable | 9–11 | Fix type error on composer.json | Oct 11, 2024 | |
| 1.0.0 | Stable | 9–11 | Sep 27, 2024 |