Download the PHP package locomotivemtl/charcoal-contrib-mailchimp without Composer
On this page you can find all versions of the php package locomotivemtl/charcoal-contrib-mailchimp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download locomotivemtl/charcoal-contrib-mailchimp
More information about locomotivemtl/charcoal-contrib-mailchimp
Files in locomotivemtl/charcoal-contrib-mailchimp
Package charcoal-contrib-mailchimp
Short Description Charcoal service provider for mailchimp implementation.
License MIT
Homepage https://locomotivemtl.github.io/charcoal-contrib-mailchimp/
Informations about the package charcoal-contrib-mailchimp
Charcoal Mailchimp
A Charcoal service provider mailchimp implementation.
Table of Contents
- Installation
- Dependencies
- Service Provider
- Parameters
- Services
- Configuration
- Usage
- Development
- API Documentation
- Development Dependencies
- Coding Style
- Credits
- License
Installation
The preferred (and only supported) method is with Composer:
Dependencies
Required
- PHP 5.6+: PHP 7 is recommended.
Configuration
Include the mailchimp module in the projects's config file. This will provide everything needed for charcoal-contrib-mailchimp to work properly.
Add the api key (Account > Settings > Extra > Api keys) in the config apis:
Usage
charcoal-contrib-mailchimp comes with a set of tools to help setup a newsletter subscription.
Properties
There are 2 different property types you can use to either select an audience or a signup form for a given audience.
Mailchimp List
Set your property as follow.
You can customize the displayed label, the displayed title, the value and the subtext pattern. It is also possible to add query parameters (see Doc) Default as follow:
Mailchimp Signup Form
You can customize the displayed label, the displayed title, the value and the subtext pattern. Default as follow:
User subscription
The mailchimp service is standalone and can be used directly if you know the endpoints by using the post, patch, get, put and delete methods.
Coding Style
The charcoal-contrib-mailchimp module follows the Charcoal coding-style:
- PSR-1
- PSR-2
- PSR-4, autoloading is therefore provided by Composer.
- phpDocumentor comments.
- .editorconfig for coding standards.
Coding style validation / enforcement can be performed with
composer phpcs
. An auto-fixer is also available withcomposer phpcbf
.
Credits
License
Charcoal is licensed under the MIT license. See LICENSE for details.
All versions of charcoal-contrib-mailchimp with dependencies
ext-curl Version *
ext-json Version *
locomotivemtl/charcoal-admin Version >= 0.17