Manage newsletters in Laravel 5 original

by Freek Van der Herten – 1 minute read

A few hours ago I tagged version 1.0.0 of a my new package: laravel-newsletter. It provides a very easy way to interact with email marketing services. Or maybe I should simply say MailChimp, as it is currently the only supported supported service.

After you install the package (un)subscribing an e-mail is as easy as


Newsletter::subscribe('obi-wan.kenobi@stewjon.com')
Newsletter::unsubscribe('palpatine@empire.com')

There are a few more methods provided and you can also access the underlying MailChimp API. Read all about it in the readme of the package.

I was going to add more functionality but the recent release of the new version of MailChimp's API made me rethink my plan. As soon as there is a php wrapper available for the new version of API I'll put some more work in the package.

Join 9,500+ smart developers

Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

Found something interesting to share? Submit a link to the community section.