naif/mailchimp-tool

A Laravel Nova tool that integrate with MailChimp to add/edit subscribe and send email messages.

v1.0 2018-10-09 21:24 UTC

This package is not auto-updated.

Last update: 2024-11-15 02:44:23 UTC


README

A Laravel Nova tool that integrate with MailChimp to:

  • Number of subscribers and unsubscribers.
  • Latest 10 Subscribers list
  • Add Subscriber to a list
  • Remove Subscriber from a list
  • Create Campaign (Send Email Message)
  • Rich Text Editor
  • Accept HTML
  • Embedded Images/Videos and links.

Installation:

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/mailchimp-tool

Usage:

Add the below to app/Providers/NovaServiceProvder.php

  public function tools()
  {
      return [
           new MailchimpTool()
      ];
  } 

Pre Requirements

Create an account with MailChimp:

  • Get your api key
  • Create a list and get it's ID
  • Create a template with Variable Content Area and must name it "eventmessage"

Then add the below to your .env file

NOVA_MAILCHIMP_API_KEY=xxxxxxxxxxxxxxxxx-us19
NOVA_MAILCHIMP_LIST_ID=xxxxxx
NOVA_MAILCHIMP_TEMPLATE_ID=12345
NOVA_MAILCHIMP_FROM_NAME=Name
NOVA_MAILCHIMP_FROM_EMAIL=email@email.com

Screenshots

There is an issue with the tinymce editor Vue package icons are not showing probably.

To Fix this, copy the (fonts) folder to your Laravel project main directory as the full path as below:

"/public/fonts/vendor/tinymce/skins/lightgray"

Credits

Drew McLellan

Dyonir

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License:

The MIT License (MIT). Please see License File for more information.