spatie/laravel-newsletter
Laravel package to manage newsletter subscriptions across providers. Supports Mailcoach, MailChimp, and MailerLite, with a unified API for subscribing/unsubscribing and list management. Includes configurable integration via config/newsletter.php.
first_name, last_name) to enrich email campaigns.unsubscribe and delete to meet GDPR/email regulations.getMember() to track subscriber status or fetch data for CRM integration.lists.european_users, lists.north_american_users) for region-specific newsletters.Adopt if:
Look elsewhere if:
"This package lets us unify email subscriptions across Mailcoach, MailChimp, or MailerLite with 5 lines of code, cutting dev time by 80%. It’s battle-tested (1.6K stars), MIT-licensed, and supports our roadmap for user segmentation and GDPR compliance. For example, we can add newsletter sign-ups to our checkout flow in one sprint instead of three. The NullDriver also lets us mock subscriptions during testing, reducing QA bottlenecks."
ROI:
*"This is a drop-in solution for managing email lists in Laravel. Key benefits:
Newsletter::subscribe($email, ['name' => 'John']).Newsletter::getApi().Trade-offs:
Recommendation: Use this for subscriber CRUD and pair with a dedicated email marketing tool for campaigns. Example workflow:
// Signup form submission
Newsletter::subscribeOrUpdate(
$request->email,
['first_name' => $request->first_name],
'premium_users' // List name from config
);
```"*
How can I help you explore Laravel packages today?