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.
You can install the package in to a Laravel app that uses Nova via composer:
composer require naif/mailchimp-tool
Add the below to app/Providers/NovaServiceProvder.php
public function tools()
{
return [
new MailchimpTool()
];
}
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 protected]
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"
https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.