PHPackages                             djuki/mailchimp-apiv3 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. djuki/mailchimp-apiv3

ActiveLibrary[API Development](/categories/api)

djuki/mailchimp-apiv3
=====================

Simple API wrapper for Mailchimp API V3

v1.0.6(9y ago)03341MITPHPPHP &gt;=5.5.0

Since Jul 24Pushed 6y agoCompare

[ Source](https://github.com/Djuki/mailchimp-api-v3)[ Packagist](https://packagist.org/packages/djuki/mailchimp-apiv3)[ RSS](/packages/djuki-mailchimp-apiv3/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (7)Used By (0)

Mailchimp API v3 - PHP Wrapper [![Build Status](https://camo.githubusercontent.com/3183ceeb4d0af845335cdc80e32ff5b36a37e35f1382e837de922bd6cc93ee01/68747470733a2f2f7472617669732d63692e6f72672f706163656c792f6d61696c6368696d702d6170692d76332e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pacely/mailchimp-api-v3)
===================================================================================================================================================================================================================================================================================================================================

[](#mailchimp-api-v3---php-wrapper-)

- [Installation](#installation)
- [Laravel Users](#laravel-users)
    - [Service Provider](#service-provider)
    - [Facade](#facade)
    - [Configuration](#configuration)
- [Usage](#usage)
    - [Pagination](#pagination)
    - [Filtering](#filtering)
    - [Partial Response](#partial-response)
    - [Behind Proxy](#behind-proxy)
- [Examples](#examples)
    - [Collection object](#collection-object)
    - [Create lists](#create-lists)
    - [Subresources](#subresources)
    - [Proxy](#proxy)
- [Further documentation](#further-documentation)

Installation
============

[](#installation)

Add the following to your composer.json

```
{
    "require": {
        "pacely/mailchimp-apiv3": "dev-master"
    }
}
```

Laravel Users
=============

[](#laravel-users)

We've added some classes to help Laravel 5 users make use of the library with ease.

#### Service Provider

[](#service-provider)

You can register our [service provider](http://laravel.com/docs/5.1/providers) in your `app.php` config file.

```
// config/app.php
'providers' => [
    ...
    Mailchimp\MailchimpServiceProvider::class
]
```

#### Facade

[](#facade)

If you prefer [facades](http://laravel.com/docs/5.1/facades), make sure you add this as well:

```
// config/app.php
'aliases' => [
    ...
    'MC' => Mailchimp\MailchimpFacade::class
]
```

*NOTE*: Make sure not to register the facade with the `Mailchimp` alias, as that could potentially clash with the base class.

#### Configuration

[](#configuration)

There are only one configuration option you need to fill in. Publish the config by running:

```
php artisan vendor:publish

```

Now, the config file will be located under `config/mailchimp.php`:

```
