Download the PHP package jsdecena/mailchimp without Composer
On this page you can find all versions of the php package jsdecena/mailchimp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jsdecena/mailchimp
More information about jsdecena/mailchimp
Files in jsdecena/mailchimp
Download jsdecena/mailchimp
More information about jsdecena/mailchimp
Files in jsdecena/mailchimp
Please rate this library. Is it a good library?
Informations about the package mailchimp
MailChimp API v2.0 Laravel PHP Example
Installation
- Step1: Add this to your root
composer.json
Or issue this command:
composer require jsdecena/mailchimp
-
Step2: Add this to your
config/app.php
inproviders
array - Step3: Run this in your terminal
php artisan vendor:publish --provider="Jsdecena\MailChimp\MailChimpServiceProvider"
-
Step4: Include the template anywhere in your template
@include('mailchimp::mailchimp')
- Step5: Set the variable in your
.env
file
MAILCHIMP_API_KEY=YourMailChimpAPIKey
MAILCHIMP_LIST_ID=YourMailChimpListId
- Step6: Enjoy!
Overriding the template file?
- Yes you can. Override the file in
/resources/views/vendor/mailchimp/mailchimp.blade.php
What is new with 1.6?
- Recently, I learned the power of doing TDD (test driven development) on applications using PHPUnit. So now, I am already throwing exception messages whenever there is an issue on the request!
What are the exception messages we are returning?
-
Email that MailChimp does not allow
-
Wrong API key provided
- Wrong List ID provided
And if the subscription is successful, it will return the email, euid, leid on the data object
All versions of mailchimp with dependencies
PHP Build Version
Package Version
Requires
mailchimp/mailchimp Version
^2.0
vlucas/phpdotenv Version ~2.2
illuminate/http Version ^5.3
vlucas/phpdotenv Version ~2.2
illuminate/http Version ^5.3
The package jsdecena/mailchimp contains the following files
Loading the files please wait ....