Download the PHP package statamic-rad-pack/campaign-monitor without Composer
On this page you can find all versions of the php package statamic-rad-pack/campaign-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download statamic-rad-pack/campaign-monitor
More information about statamic-rad-pack/campaign-monitor
Files in statamic-rad-pack/campaign-monitor
Package campaign-monitor
Short Description Subscribe registrations or contact forms to Campaign Monitor
License MIT
Informations about the package campaign-monitor
Manage Campaign Monitor newsletters in Statamic
This package provides an easy way to integrate Campaign Monitor with Statamic forms and user registrations.
Requirements
- PHP 8.1+
- Statamic v4
Installation
You can install this package via composer using:
The package will automatically register itself.
Configuration
Set your Campaign Monitor API Key and Client ID in your .env
file. Instructions on how to find these can be found here.
Publish the config file to config/campaign-monitor.php
run:
Usage
Create your Statamic forms as usual. When editing the form you'll see a "Campaign Monitor Integration" section where you can configure if and how that form integrates with Campaign Monitor.
Don't forget to add the consent field to your blueprint.
You can also manage if new users are added a list using the dedicated settings view in the control panel.
Configuration in the Control Panel:
Data storage
Any user related settings are stored by default in resources/campaign_monitor.yaml
.
If you want to change this or use a different data store, you can bind \StatamicRadPack\Mailchimp\UserConfig::class
in your app service provider. You should modify the getSavedSettings
, save
, and exists
methods according to your requirements.
Testing
Run the tests with:
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
Please see SECURITY for details.
All versions of campaign-monitor with dependencies
bashy/laravel-campaignmonitor Version ^6.0
laravel/framework Version ^10.25.0 || ^11.0
pixelfear/composer-dist-plugin Version ^0.1
statamic/cms Version ^5.28
stillat/proteus Version ^4.0