PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Laravel Nova PHP Mailchimp Send Email  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Nova PHP Mailchimp Send Email
Send email to subscribers of lists of Mailchimp
Author: By
Last change:
Date: 1 year ago
Size: 2,051 bytes
 

 

Contents

Class file image Download

Nova MailChimp Tool

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

<img src="https://raw.githubusercontent.com/naifalshaye/mailchimp/master/screenshots/logo.png" width="900">

There is an issue with the tinymce editor Vue package icons are not showing probably. <img src="https://raw.githubusercontent.com/naifalshaye/mailchimp/master/screenshots/image3.png" width="700">

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"

<img src="https://raw.githubusercontent.com/naifalshaye/mailchimp/master/screenshots/image4.png" width="700">

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.