Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 5.5
- 5.6
- 7.1
- hhvm

before_script:
Expand Down
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@
* [Further documentation](#further-documentation)

# Installation
Add the following to your composer.json

```json
{
"require": {
"pacely/mailchimp-apiv3": "dev-master"
}
}
Install the package through Composer:

```bash
composer require pacely/mailchimp-apiv3:dev-master
```

# Laravel Users
Expand Down Expand Up @@ -58,7 +54,7 @@ If you prefer [facades](http://laravel.com/docs/5.1/facades), make sure you add
#### Configuration
There are only one configuration option you need to fill in. Publish the config by running:

php artisan vendor:publish
php artisan vendor:publish --provider="Mailchimp\MailchimpServiceProvider"

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

Expand Down Expand Up @@ -209,4 +205,4 @@ $result = $mc->get('lists/e04d611199', [
```

# Further documentation
You should read through Mailchimp's API v3 [documentation](http://kb.mailchimp.com/api/) (I know, it's pretty rough. Should get better soon.). To find out which resources is available, take a look at the [JSON API Schema for Mailchimp](https://us10.api.mailchimp.com/schema/3.0/).
You should read through Mailchimp's API v3 [documentation](http://kb.mailchimp.com/api/) (I know, it's pretty rough. Should get better soon.). To find out which resources is available, take a look at the [JSON API Schema for Mailchimp](https://us10.api.mailchimp.com/schema/3.0/).
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"laravel": {
"providers": [
"Mailchimp\\MailchimpServiceProvider"
],
"aliases": {
"MC": "Mailchimp\\MailchimpFacade"
}
}
},
"minimum-stability": "dev"
Expand Down