Download the PHP package digiageltd/mailchimp-laravel without Composer
On this page you can find all versions of the php package digiageltd/mailchimp-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digiageltd/mailchimp-laravel
More information about digiageltd/mailchimp-laravel
Files in digiageltd/mailchimp-laravel
Package mailchimp-laravel
Short Description A minimal service provider to set up and use the Mailchimp Api v2 PHP library in Laravel 5.*
License MIT
Informations about the package mailchimp-laravel
This package is abandoned.
The Mailchimp API v2.0 was deprecated from jan 1st 2017. This package uses the v2 API, because it relies on the Mailchimp PHP API Client, which uses the v2 API.
This package will not recieve updates for future Laravel versions.
Please use an api v3-compatible package instead, several are available on Packagist
skovmand/mailchimp-laravel
A minimal service provider to set up and use the Mailchimp API v2 PHP library in Laravel v5.*
For Laravel v4 check https://packagist.org/packages/hugofirth/mailchimp
How it works
This package contains a service provider, which binds an instance of an initialized Mailchimp client to the IoC-container.
You recieve the Mailchimp client through depencency injection already set up with your own API key.
Usage example
Or you can manually instantiate the Mailchimp client by using:
Setup
Step 1: Adding the dependency to composer.json
Add this to your composer.json in your Laravel folder. Note: Adding this dependency will automatically setup "mailchimp/mailchimp": "~2.0" too.
Step 2: Register the service provider
Register the service provider in by inserting into the array
Step 3: From the command-line run
This will publish to your config folder.
Step 4: Edit your .env file
Good to go!