Download the PHP package concept7/statamic-mailerlite without Composer
On this page you can find all versions of the php package concept7/statamic-mailerlite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download concept7/statamic-mailerlite
More information about concept7/statamic-mailerlite
Files in concept7/statamic-mailerlite
Package statamic-mailerlite
Short Description A Statamic addon that automatically subscribes form submissions to MailerLite, with per-form configuration for subscriber groups and field mapping manageable from the Control Panel.
License MIT
Homepage https://github.com/concept7/statamic-mailerlite
Informations about the package statamic-mailerlite
Statamic MailerLite
A Statamic addon that automatically subscribes form submissions to MailerLite, with per-form configuration for subscriber groups and field mapping, manageable from the Control Panel.
Requirements
- PHP 8.4+
- Statamic 6
- Laravel 12 or 13
Installation
You can install the addon via composer:
Configuration
Add your MailerLite API key in the Control Panel under the addon's settings (Tools → Addons → Statamic MailerLite). Without an API key, submissions are silently skipped.
Usage
Every form's Configure page in the Control Panel gets a MailerLite section:
- Enable MailerLite sync — toggle syncing for the form on or off.
- Groups — pick the MailerLite groups subscribers are added to, loaded live from your account.
- Field mapping — map form fields to MailerLite subscriber fields. Map one field to
email; submissions without an email value are skipped.
The settings are saved on the form itself, so they are version controlled and deployed along with your other form YAML.
How it works
When a form submission is created, a listener checks the form's MailerLite settings. If syncing is enabled and a field mapping is present, a queued job sends the subscriber — with the mapped fields, the selected group, and the submitter's IP address (which MailerLite uses as a consent and spam signal) — to MailerLite. Make sure a queue worker is running (or use the sync queue driver) for subscribers to be created.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Jan Henk Hazelaar
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of statamic-mailerlite with dependencies
illuminate/contracts Version ^12.0||^13.0
mailerlite/mailerlite-php Version ^1.0
statamic/cms Version ^6.0