MailerLite for Statamic lets you subscribe contact form submissions to your MailerLite subscriber lists.
You can optionally add subscribers to groups, automatically split single name fields into name and last name, use an opt-in field, collect GDPR compliant marketing preferences and of course map any custom fields that you like.
Requirements
- PHP 8.2 or higher
- Laravel 10 or 11
- Statamic v4.0 or v5.0
This addon also uses Forma by Erin Dalzell and will be automatically installed for you.
Installation
You should install via the Statamic Marketplace or you can use composer in your project root:
composer require siterig/mailerlite
Set your MailerLite API key in the .env
file within your project:
MAILERLITE_API_KEY=your-api-key-goes-here
Then all that's left to do is publish the config file to config/mailerlite.php
:
php artisan vendor:publish --tag="mailerlite-config"
Now you can configure your form settings within the Control Panel from the MailerLite menu option.
Support
This is not an official add-on by MailerLite so if you have any issues with the addon itself please report them on our Support Centre
Related addons
We also have addons for other email marketing systems:
- Constant Contact - Coming soon...
- Email Octopus - Coming soon...
- Sendinblue