Jhut89/Mailchimp-API-3.0-PHP
A feature rich object-oriented PHP library for interacting with MailChimp's API v3 💌🐵
add state param to OAuth
Fixing tests namespaces to comply with psr-4 autoloading standard.
Members events endpoint added: https://github.com/Jhut89/Mailchimp-API-3.0-PHP/pull/77
Changing caller for success and failure callbacks. This allows access to the response object inside of these callbacks.
Updating `require-dev` dependencies. `require-dev` php version now at `>=7.2`
Close connections after execution by default.
📋 Changes
- Add more clear curl error handling
Bug fix: https://github.com/Jhut89/Mailchimp-API-3.0-PHP/issues/64
📋 Changes
- Ability to set custom curl options
📦 Version 3.0.3
- Fix success callbacks.
- Add support for `Verified Domains` endpoints.
The library was json serializing params expected by the Mailchimp Oauth server to be form style data. fix was merged in #54.
Fix bug where headers were not of type array when no `apikey` was provided to `MailchimpRequest`.
✨ Incoming Features
- Namespaced classes
- Full PSR-4 Autoloading via _Composer_
- Tests
- Success & Failure Callbacks
- Support for new endpoints
💥 Breaks From Older Versions
- No non-autoloading option
- Class names and directory structure changes
📋 Changes
- Get Auth URL Added
Adding support for two new endpoints: --Batch Webhooks http://developer.mailchimp.com/documentation/mailchimp/reference/batch-webhooks/ -- E-commerce Stores Product Images http://developer.mailchimp.com/documentation/mailchimp/reference/ecommerce/stores/products/images/
Updating minimum required php version
-- Added user_agent
-- Adding Oauth Functionality
-- Adding API key checks
🐛 Fixes
- PHP Warning Fix
- -- Refactored class methods by moving them to the Mailchimp class.
- Decoding Responses
- -- If a response cannot be decoded the raw response is outputted
✨ New Features
- -- Debugger Mode
- -- Able to set debugger log file
- -- Can now use CURLOPT_SSL_VERIFYPEER
- -- Can now return headers from requests
- -- Library_Exceptions added leaving room for folks to add in their own exceptions
- -- Library now validates the top level of a request body and checks for required fields
This library should now be compliant with PSR2 Standards. --Minor fixes
First release.
