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.