Mailchimp Laravel Package

Laravel Newsletter is a new package that integrates with the Mailchimp API to allow subscribing, unsubscribing, and creating new campaigns.

Here are two examples to demonstrate how easy it is to subscribe and unsubscribe users:

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

One advantage to utilizing the API with Mailchimp is you can bypass the required double opt-in. Freek also says that more newsletter providers may be added over time. Read his post for more details and to get the package.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.