Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Mailchimp Apiv3

Mailchimp Apiv3 Laravel Package

pacely/mailchimp-apiv3

PHP wrapper for Mailchimp API v3 with Laravel 5 support (service provider, facade, config publishing). Provides a simple request/get/post/put interface plus helpers for pagination, filtering, partial responses, and proxy setups, with practical examples.

View on GitHub
Deep Wiki
Context7

API client for Mailchimp API v3

Frequently asked questions about Mailchimp Apiv3
Does this package support Laravel 8/9/10 or only Laravel 5?
The package was built for Laravel 5.x and may require adjustments for newer versions. Test compatibility with updated service provider booting and facade resolution. Check for conflicts with existing Mailchimp aliases by renaming the facade if needed.
How do I handle Mailchimp API deprecations or breaking changes?
Mailchimp’s API evolves rapidly, and this wrapper may not support newer endpoints. Plan for periodic updates or consider switching to the official Mailchimp PHP SDK for long-term stability. Wrap deprecated endpoints with warnings or fallbacks if extending the package.
Can I use this package for transactional emails or advanced segmentation?
No, this wrapper only supports basic Mailchimp v3 features (lists, campaigns, subscribers). For transactional emails, advanced segmentation, or webhooks, use Mailchimp’s official PHP SDK instead, as it covers modern API endpoints.
How do I install and configure this package in Laravel?
Add the package via Composer (`"pacely/mailchimp-apiv3": "dev-master"`), register the `MailchimpServiceProvider` in `config/app.php`, and publish the config with `php artisan vendor:publish`. Set your API key in `config/mailchimp.php`.
Does this package support OAuth 2.0 authentication?
No, this package only supports legacy API key authentication. Mailchimp recommends OAuth 2.0 for production, though API keys still work for some use cases. For OAuth, use the official Mailchimp SDK or a dedicated OAuth package.
How do I handle pagination or bulk operations efficiently?
The package includes pagination support via the `request()` method, but synchronous calls may block I/O-bound operations like bulk subscriber updates. For large-scale operations, consider async queues or Mailchimp’s official SDK, which offers batch endpoints.
Will this package work behind a proxy or in restricted environments?
Yes, the package includes proxy support with examples. Configure proxy settings in the `request()` method or via the underlying HTTP client if using standalone mode.
Are there alternatives if this package is outdated or lacks features?
For modern Mailchimp API features, use the official [Mailchimp PHP SDK](https://github.com/mailchimp/mailchimp-marketing-php). It supports OAuth 2.0, async operations, and all current endpoints. This package is best for basic v3 functionality with minimal setup.
How do I test this package in a CI/CD pipeline or production?
Test with mock HTTP responses (e.g., VCR recordings) to avoid hitting Mailchimp’s rate limits. Use `.env` for API keys and validate error handling for HTTP 4xx/5xx responses. Monitor performance for synchronous bulk operations.
Can I extend this package to support PHP 8.1+ or modern features?
Yes, you can fork and modernize it by adding typed properties/methods, async support (e.g., Guzzle promises), and updated Mailchimp endpoints. Check the official SDK for reference implementations of newer features like transactional emails or webhooks.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament